Learning a bit of Python

I'm learning a bit of Python and the first thing I noticed (I'm used to Perl/PHP) is that all of your functions have to be defined before you can use them. The easy way around this is to make ALL of your code a function. The Python creator has a quick explanation of how this should work that makes a lot of sense.

Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
Logged IP:
To prevent spam please submit by clicking the kitten: