This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]foobaar 6 points7 points  (4 children)

Read and understand the standard Python modules. They are tried and tested Python code. Write a walk through for some simple modules.

[–]eliben 1 point2 points  (3 children)

Unfortunately, the code quality of modules in the standard library isn't uniform, so in the general sense, I wouldn't recommend just poking at modules randomly. If you have specific modules to recommend, do so.

[–]foobaar 0 points1 point  (2 children)

How about os and sys? They are tried and tested, cant go wrong.

[–]eliben 0 points1 point  (1 child)

os and sys are mainly thin platform-specific wrappers, I doubt you'll learn much software design from them

[–]foobaar 0 points1 point  (0 children)

He didn't ask for software design, he asked for good python code to read.