Multiple versions of Python coexisting in the same OS

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Jul 25 02:20:07 EDT 2010


On Sat, 24 Jul 2010 22:03:48 -0700, Chris Rebert wrote:

>> Are the .py and .pyc extensions the only ones which are associated with
>> Python or are there others, for a normal Python installation in Windows
>> ?
> 
> There's also .pyw

Also .pyo 

.py = Python source code, usually associated with command line Python
.pyc = Python byte code
.pyo = Python optimized byte code
.pyw = is Windows only, and shouldn't open a console window.



-- 
Steven



More information about the Python-list mailing list