vertical ordering of functions
John Bokma
john at castleamber.com
Tue May 3 20:44:41 EDT 2011
Ben Finney <ben+python at benfinney.id.au> writes:
> Jabba Laci <jabba.laci at gmail.com> writes:
>
>> Is there a convention for this? Should main() be at the top and called
>> function below?
>
> No, it's Python convention for both of those to be at the end of the
> module.
>
> I follow the convention described by Guido van Rossum in
> <URL:http://www.artima.com/weblogs/viewpost.jsp?thread=4829>.
Thanks Ben, very useful link.
--
John Bokma j3b
Blog: http://johnbokma.com/ Facebook: http://www.facebook.com/j.j.j.bokma
Freelance Perl & Python Development: http://castleamber.com/
More information about the Python-list
mailing list