5 Respuestas
+ 12
# Comment heavily, you never know when you gonna need it again :)
+ 9
Ultimate tip source: Google
+ 5
I don't use Python, but Kuba is spot on. Nothing worse than coming back to a code you haven't touched in months/years and wondering to yourself "wtf was I thinking? What's going on here?"
Even further, what if someone else needs to use your code or if you're using someone elses code? It's a pain when someone doesn't document/comment and you have to spend time trying to figure out their logic/flow/train of thought from when they wrote the code.
+ 3
pypi https://pypi.python.org/pypi
here you find all libraries you can install with pip