403 error on .py scripts on apache

You may be getting something like this in your error log:

Options ExecCGI is off in this directory: /var/www/myinfo.py

To solve this simply add:

Options +ExecCGI

Into your tag in yout sites-enabled/000-default or default (or whatever your one is depending on your OS).

Restart apache, and it should work.