Hi Alf,




Alf P. Steinbach wrote:
> * News123:
>> Hi,
>>
>>
>> I'd like to start .pyo files under windows with a double click.
> 
> C:\> assoc .pyo
> .pyo=Python.CompiledFile
> 
> C:\> ftype python.compiledfile
> python.compiledfile="C:\Program Files\cpython\python31\python.exe" "%1" %*
> 
> C:\> _
> 
> 
> Use ftype to change the association.

Thanks a lot, I leared something new about Windows


What I did now is this:

assoc .pyo=Python.CompiledOptimizedFile
ftype Python.CompiledOptimizedFile="C:\Python26\python.exe" -OO "%1" %*

bye

N

> 
> 
> Cheers & hth.,
> 
> - Alf
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to