possible to run a python script without installing python?

Santoso Wijaya santoso.wijaya at gmail.com
Wed Mar 16 14:14:55 EDT 2011


py2exe does this for you...

~/santa


On Wed, Mar 16, 2011 at 8:02 AM, David Jackson <davidj411 at gmail.com> wrote:

> i need to run a python script on any arbitrary server and don't want to do
> an actual installation. i figured i could do a clean install on my machine
> and install whatever libraries would be needed, then zip them all up for
> remote deployment. to avoid bloating, i am wondering which files i can
> safely omit.
>
>
> On Tue, Mar 15, 2011 at 8:48 PM, Katie T <katie at coderstack.co.uk> wrote:
>
>>
>> On Tue, Mar 15, 2011 at 8:58 PM, davidj411 <davidj411 at gmail.com> wrote:
>>
>>> it seems that if I copy the python.exe binary and the folders
>>> associated with it to a server without python, i can run python.
>>> does anyone know which files are important to copy and which can be
>>> omitted?
>>>
>>> i know about py2exe and have had no luck with it.
>>
>>
>> What's the reason for wanting to avoid installing Python? - are you just
>> trying to save disk space?
>>
>> If it's a case of not having admin rights, you can just copy the Python
>> directory, I don't believe it has any dependencies anywhere else.
>>
>> Katie
>> --
>> CoderStack
>> http://www.coderstack.co.uk
>> The Software Developer Job Board
>>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110316/317067b3/attachment.html>


More information about the Python-list mailing list