.PY File Extension

.PY File Extension

File Type

Python Script

Developer Python Software Foundation
Popularity
4.2  |  343 Votes
Category Developer Files
Format Text

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.

More Information
Screenshot of a .py file in Sublime Text 3
PY file open in Sublime Text 3

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).

Open and view .PY files with File Viewer Plus.Free Download

Programs that open PY files

Verified by FileInfo.com

The FileInfo.com team has independently researched the Python Script file format and Mac, Windows, Linux, and Android apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.