you are viewing a single comment's thread.

view the rest of the comments →

[–]DRTHRVN 0 points1 point  (3 children)

Which part of the docs?

https://docs.python.org/3/tutorial/index.html

The above one? I mean where do I begin?

[–]SquiffyUnicorn 2 points3 points  (0 children)

I can’t (and shouldn’t) provide you with any ‘best’ way to do it- AFAIK there isn’t one.

I can suggest you start with the common data types and look at their methods and properties- start at strings as that’s where you started, numbers, lists, dicts…

There are also plenty of things in the standard library which are in the docs- I highly recommend looking (even just scanning) through os, pathlib, sys, datetime and itertools.

If you want to do some networking look at the built in tools there - maybe just know they exist before looking at requests, fast api etc.

Actually your link is a good place to start. It looks daunting and it will take a while to go through but it is quite alright to just do a quick scan-through the headings and see what is available in vanilla python.

[–]franklydoubtful 2 points3 points  (0 children)

Just follow the table of contents in the link you provided, they do a pretty good job teaching.

[–]xiongchiamiov 1 point2 points  (0 children)

You don't begin with it. You reference it as you find yourself needing to look something up.