.PY File Extension
File TypePython Script
What is a PY file?
A PY file is a program file or script written in Python, an interpreted object-oriented programming language. It can be created and edited with a text editor, but requires a Python interpreter to run. PY files are often used for programming web servers and other administrative computer systems.
Python is designed to be easy to read and simple to implement. It is open source and used for developing a wide variety of free and commercial applications, such as Bazaar, Blender, Pylons, and Panda3D.
You can open and edit PY scripts with a text editor, such as Microsoft Notepad or Apple TextEdit. However, you can also open and edit PY files with source code editors and IDEs that provide Python language editing features. MacroMates TextMate and Sublime Text are helpful source code editors, as well as JetBrains PyCharm, which is a Python IDE for professional developers.
NOTE: The programming language was originally created in the late 1980s by Guido van Rossum with subsequent versions released in 2000 (Python 2.0) and 2008 (Python 3.0).