Categories:
Android (1)
Audio (7)
C/C++ (2)
Compression (7)
Database (6)
Document (14)
Email (3)
General (50)
Graphics (17)
Image (8)
Java (1)
Picture (1)
Presentation (7)
Programming (17)
Spreadsheet (11)
Video (8)
Web (13)
Windows (63)
XML (4)
Other Resources:
.PY - File Extension for Python Script Files
What is PY? PY, short name for Python, is used as the file extension for Python Script files. .PY files are text files that can be opened by Notepad or any text editors. See the sample .PY file included below.
✍: FYIcenter.com
File Extension: .PY
MIME Type: application/x-pytho
File Content: Python Script
.PY files are Python Script files with Pathon programming statements. Here is a sample .PY Python Script file containing some simple Python script code logic:
prices = {'apple': 0.40, 'banana': 0.50}
my_purchase = {
'apple': 1,
'banana': 6}
grocery_bill = sum(prices[fruit] * my_purchase[fruit]
for fruit in my_purchase)
print 'I owe the grocer $%.2f' % grocery_bill
.PY Python Script file sample: Click sample.py to download.
Since .PY text files are in text format, you can use Notepad or any text editor to create or modify them. No special software is needed.
For for information on how to use .PY Python Script files, see links below:
2013-01-15, 9242👍, 0💬
Popular Posts:
What is XLSB? XLSB, short name for Excel Spreadsheet Binary, is used as the file extension for sprea...
What is ASPX? ASPX, short name for ASP.NET Script, is used as the file extension for ASP.NET Script ...
What is WMF or EMF? WMF stands for Windows Metafile. EMF stands for Enhanced Windows Metafile WMF or...
File extension MPG is used for audio and video files in a MPEG formats. An MPEG sample file is provi...
What is DOTX? DOTX, short name for Document Template XML, is used as the file extension for files in...