2 ms·
Read and follow PEP 8 http://www.python.org/dev/peps/pep-0008/ http://www.python.org/dev/peps/pep-0008/
by aberkowitz 16y ago
Read and follow PEP 8
http://www.python.org/dev/peps/pep-0008/ http://www.python.org/dev/peps/pep-0008/
- augustflanagan 16y agoThanks! That looks like a good place to start.
- jlc 16y agoPEP 8 is great, but (unless I've forgotten . . .) it doesn't really help w/ directory structure and so on. I'd say take a look at some of the code in the standard library and in some other packages you've used before, then read this: http://jcalderone.livejournal.com/39794.html http://jcalderone.livejournal.com/39794.html Then just go for it.
- eru 16y agoAnd keep refactoring, when you get into a mess.