Newbie Questions: Swithing from Perl to Python
Todd Stephens
huzzah at tampabay.rr.com
Sun Oct 26 09:18:17 EST 2003
On Sun, 26 Oct 2003 09:12:40 -0500, John J. Lee wrote:
> This isn't Perl, everything is a 'my' variable unless you explictly ask
> otherwise, so there's no need to restate that fact in your variable
> names.
> Having 'my' as a prefix to every name is bad style in Python.
Thanks. Normally I name variable by what they are, I was using this as a
method for them to be easily read (and typed) for example purposes.
--
Todd Stephens
More information about the Python-list
mailing list