File Install Program Using Python?

Tim Golden tim.golden at viacom-outdoor.co.uk
Fri Jan 23 11:31:55 EST 2004


>From: CB Hamlyn [mailto:cbh at newenglandhomes.net]
...
>Anyway, I want to create an installation program that takes a 
>folder and all
>it's sub-folders and copies them from a compressed form into the proper
>directory.  Basically a simplified version InstallSheild or whatever.
...
>Any help would be appreciated.
>
>Thanks
>CB Hamlyn
>

You want to be looking at the zipfile and/or gzip and/or bz2 modules:

http://www.python.org/doc/current/lib/module-bz2.html

http://www.python.org/doc/current/lib/module-gzip.html

http://www.python.org/doc/current/lib/module-zipfile.html

TJG


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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