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@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    3 years 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
      ·
      3 years 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@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      3 years 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
    ·
    3 years 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
      1
      ·
      3 years 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@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 years 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!

  • Narann@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 years 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.