I’ve been wanting to learn how to code for a while so I figure now is as good a time as any to start. I downloaded VS code on my laptop for python but I don’t really know end product I should try to code and I also am just bad and barely know what I’m doing. Does anyone here have any advice on what to code and how best to learn?

  • Hangry @lm.helilot.com
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Do you have a virtual machine, or a filesystem that you could mess with?
    A good project idea would be to manipulate files on your system. Sort them, duplicate them, add programmatically one line to their content. The possibilities are plenty and you can see the result of your code.
    Besides that, look for tutorial repositories on Github (or codeberg.org).
    Last but not least, VSCode is my personal favorite, but you could check out PyCharm for beginning, as it has more features out of the box.

    • 14th_cylon@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      A good project idea would be to manipulate files on your system. Sort them, duplicate them, add programmatically one line to their content.

      you really think this is good advice for someone who just downloaded their first ide and are asking what to do next? i think you skipped few steps ;)

      • Hangry @lm.helilot.com
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        This is why I said it should never be done outside of a VM or sandbox. But you are right, this is playing with fire haha.

        • 14th_cylon@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          that’s not the point. the point is person first has to learn how to print hello world and few other things, before they get to manipulating content of the filesystem.

          it is like if person asked “so i don’t have a driving license and have no idea how to drive a car, what should i do to change that?” and you would reply “well there is this cool racetrack where people are driving their muscle cars at 100 mph and they really know their stuff, you should join them!”