Home : File Types : PY File

.PY File Extension

File TypePython Script

DeveloperPython Software Foundation
4.1 (324 Votes)
CategoryDeveloper Files

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.

Programs that open PY files

Updated 3/26/2020

About PY Files

Our goal is to help you understand what a file with a *.py suffix is and how to open it.

The Python Script file type, file format description, and Mac, Windows, Linux, and Android programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

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