This describes why python throws an error when you edit with Windows: http://sqlblog.com/blogs/jamie_thomson/archive/2012/08/07/replacing-crlf-with-lf-using-notepad.aspx If you use Notepad++, edit your files in Unix format. Quoted from page above.
Go to your cpanel's file manager and edit your file. Change your shebang line to look like this: #!/usr/bin/env python Then save the changes with us-ascii as the encoding. http://dallas.heliohost.org/cgi-bin/python.py
Your ip was probably blocked during a DOS attack and has nothing to do with you. You just had too many connections during that attack and the server blocked you too.