[Tutor] which file runs

Alan Gauld alan.gauld at btinternet.com
Wed Dec 6 00:22:12 CET 2006

"Luke Paireepinart" <rabidpoobear at gmail.com> wrote

>> I have a script that makes my python scripts into .pyc files and I 
>> can
>> run those without a .py in the directory or anywhere else on the
>> system for that matter. No clever tricks needed.
> Why would you want to do this?

I haven't measured it but I assume it would run a wee bit
faster since it doesn't need to compile the source into byte

Personally any savings aren't likely to be big enough to
warrant the hassle of maintaining the pyc files.

Alan g. 

More information about the Tutor mailing list