Suggestions for good programming practices?

Dianne van Dulken dianne at dogmac.com
Sun Jun 23 21:32:38 EDT 2002


Hi,

I'm fairly new to python, coming from a perl background, and was wondering
if anyone has a list of things that they consider as good programming
practice in Python (I thought this might be an interesting topic for
discussion, anyway)

For example, in perl you obviously are always encouraged to use strict, and
we always use eval around our main code to pick up any unexpected errors.  I
presume the equivalent in python is the try statement.  Would you suggest
that this should be used, or would that be redundant here?  Any other tips
that you would suggest a new python user should be always doing as a good
programming practice?

Thanks

Di





More information about the Python-list mailing list