python install on locked down windows box?

python at bdurham.com python at bdurham.com
Fri Sep 23 14:09:40 CEST 2011


Hi Matt,

Enjoyed your list options :)

I'm a consultant and have to do what your subject line asks at
most clients I work at.

Here's the technique I recommend:

Install Python for the ***current user*** on another workstation
with the appropriate priviledges. Then xcopy this Python folder
to a USB drive. Then xcopy this folder from your USB drive to a
matching folder on your locked down workstation.

The xcopy-ed version of Python will run without problems when you
start the python.exe executable from a command line with a python
script as a command line parameter. The only thing you won't be
able to do is click on .py* files and have them automatically
invoke the Python interpreter because file associations require
admin rights to update the registery. I don't consider this a big
deal.

Good luck!

Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110923/e49af853/attachment.html>


More information about the Python-list mailing list