.PY File Extension

Python Script

Developers code Python in PyCharm, a Python IDE. View .PY files with File Viewer Plus. What is a .PY file? .PY files contain Python source code. Python is popular for system scripting, web and softwar...

General Information

Title PY File Extension
Extension .py
Full Form Python Script
File Type Source Code File
Developer Python Software Foundation
MIME Type text/x-python

File Function

Primary Function Contain source code
Additional Functions Script execution
Features Interpreted, High-level, General-purpose

File Characteristics

Quality Depends on code
Supports Layers N/A
Supports Transparency N/A
Editable Yes

Use Cases

Web Development Yes
Data Analysis Yes
Automation Yes
Artificial Intelligence Yes
Scientific Computing Yes

Security and Practices

Security Risks Code execution, Script injection
Best Practices Code review, Secure coding, Linting

Historical/Version Information

Initial Release 1991
Latest Version Python 3.10 (2021)

Associated Types

Similar Extensions .pyc, .pyd, .pyo, .pyw

Software Compatibility

Software Usage Policy OS Compatibility
Python Interpreter Free Windows, Mac, Linux, More
PyCharm IDE Free, Paid Versions Windows, Mac, Linux
Visual Studio Code Free Windows, Mac, Linux