Hello fellow lemmians (I hope that is correct), I want to learn a programming language in my free time, like a hobby and not necessarly for work. I think a general purpose language like python would be a good choice. I’m the type who prefer paperback books to minimize distraction and I would like your recommendation for a book, Im thinking about “Python crash course 3d edition” but feel free to suggest something else

  • learnbyexample
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    Yeah, PCC is a good choice. Make sure to type examples codes manually (i.e. don’t just read them) and try to solve all the exercises. Since you mention you want to learn it as a hobby, “Automate the Boring Stuff with Python” (2nd edition) would be a good choice as well, as you might find some of the projects in the second half helpful.

    • mhz@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yup, “automate the boring stufF” and “unpractical python projects” are on my list once I finish PCC, or wathever can help me exercise my learnings

    • ericjmorey
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It’s more than sufficient. There are a lot of sufficient recommendations here, I hope OP doesn’t use that as an excuse to delay getting started.

  • cyberic@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I used Automate the Boring Stuff with Python. The Author is really cool about giving away the corresponding course for free.

    • santa@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I believe course is also online to read for free. I bought book to support author, though. Not everyone can do that so it is nice to have online option.

  • qwop
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    “Python crash course” sounds good - I haven’t read it personally but my experience with no starch press books is that they’re pretty good.

    Other options are “A byte of Python” and “Automate the boring stuff with Python”.

    I am also someone who prefers physical books. When I was learning I went to my local library and took out pretty much their entire section of Python books (not that big) and read through them.

    Most important is to find out what works for you!

  • jjffnn@feddit.dk
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I used python for everybody when i first learned python. I found it helpful to learn the basics. It’s free as a pdf so you can check it out. And then it can be bought as a book or for kindle if you desire.

    • mhz@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Very interesting but I dont think this is for me. I’m in north Africa region and working a shift based job. So I wont be garanteed to be able at certain times. Thank you for your offer though

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

        there is no fixed schedule you have to follow. you watch the lessons on youtube at a time that works for you and then you upload homeworks when it works for you. you don’t even have deadlines for the individual homeworks, so if you find out you are not going to have time for the next two weeks, that is fine.

        you can also choose just to watch the videos, if you so decide, but making the homeworks is where you really learn.

  • oji
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Tony Gaddis - Starting Out with Python, 5th edition

  • Narann@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Once you know most of the Python syntax, I can’t not recommend Python Cookbook 3ed. Reading the each problem-solution-opening, you will have a more pythonic mindset.