A daily updated filename extension database!

PY file extension

The table below provides useful information about the .py file extension. It answers questions such as:

  • What is the .py file?
  • What program do I need to open a .py file?
  • How can the .py file be opened, edited or printed?
  • How can I convert .py files to another format?

Table of Contents

We hope you find this page helpful and a valuable resource!

1 extension(s) and 0 alias(es) found in database

✅ Python Script

PY file is a Python Script. Python is a dynamic object-oriented programming language.
Application: Python
Mime-type: text/x-python
Magic number: -
Magic string: -
Sample: -
PY aliases:
py2, py3, python, pyw
PY related links:
PY related extensions:
Perl Script

PHP Script

Python Macro File

Python Bytecode

Python Dynamic Module

Pyrex Source

Python Optimized Code

TCL Script

Pyrex Definition File

Perl Module

Other types of files may also use the .py file extension.

🚫 The .py file extension is often given incorrectly!

According to the searches on our site, these misspellings were the most common in the past year:

ly, pg, ph, pj, pt, pu

Is it possible that the filename extension is misspelled?

We found the following similar file extensions in our database:

PlantUML Document
C64 Printfox/Pagefox Document
STK Propagator File
STK Great Arc Propagator File
NewsRoom Document
GNU Lilypond Document
Plone Page Template
MKS Source Integrity Data
Project64 Saved State File

🔴 Can't open a .py file?

When you double-click a file to open it, Windows examines the filename extension. If Windows recognizes the filename extension, it opens the file in the program that is associated with that filename extension. When Windows does not recognize a filename extension, you receive the following message:

Windows cannot open this file:


To open this file, Windows needs to know what program you want to use to open it...

If you don't know how to set the .py file association, check the FAQ.

🔴 Can I change the extension of files?

Changing the filename extension of a file is not a good idea. When you change a file's extension, you change the way programs on your computer read the file. The problem is, changing the file extension does not change the file format.

If you have helpful information about the .py file extension, write to us!

🔴 Rate our PY page

Please help us by rating our PY page on a 5-star rating system below. (1 star is poor, 5 star is excellent)

5 of 5 stars (21 votes)
Thanks for voting!
Invalid vote.
Browser: Abbreviation Application Archive Audio Configuration Data Development Disk Image Document Ebook Font Game Data GIS Graphic Malware Multimedia Other Project Scam Unknown Video
This page is available in the following languages: Český Deutsch English Español Suomi Français Magyar Italiano 日本語 Nederlands Norsk Português Român Русский Svensk 中文