I am at a high-beginner/low-intermediate level in Python, and one thing that drives me nuts is how poorly I am able to read the Python official documentation and grok how to use the described code.

What’s the secret? Are there any guides/videos/books that can help my understand how to approach reading it? Or, is it just one of those things that I need to just keep coming back to while coding, and eventually I will get the hang of it?

  • @[email protected]
    link
    fedilink
    English
    410 months ago

    I hate the official python documentation. I often find what I’m looking for much quicker just by asking ChatGPT. You can even ask it to pretend it’s William Shatner while explaining how to use a given function. So that’s fun.

      • @UlrikHDA
        link
        110 months ago

        You can just run the code in the debugger to see if it does what you expect.

      • @[email protected]
        link
        fedilink
        English
        -310 months ago

        I mean, you can. ChatGPT hasn’t steered me far wrong yet, though, and I’ve used it quite a lot over the past 4 months or so. It’s really quite good.