Running python from a usb drive

Tim Golden tim.golden at viacom-outdoor.co.uk
Tue Sep 12 09:54:52 EDT 2006


[cjl]

| Any ideas about how to set file type associations without writing to
| the registry?

Well, yes. Just the same as was in the article you pointed
to... or have I missed something?

assoc .py=python.file
ftype python.file="c:\python24\python.exe" "%1" %*

(or whatever version of Python).

Obviously switching like this is prone to the difficulties
outlined there: if something crashes and you don't change
back, you're stuck until you change it back manually.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list