|  Home

Web & Classic Hosting Help

Managing Python Script File Extensions

You can run both Python versions 2.3 and 2.4. Files running under different versions of Python can all use the same .py extension if the version is specified in the script itself. To specify the version, type one of the following at the top of a Python script:

Python 2.3


Python 2.4


Was This Article Helpful?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Glad we helped! Anything more we can do for you?
Sorry about that. Tell us what was confusing or why the solution didn’t solve your problem.