os.shell, recursion, encryption

55555 at dakotacom.net 55555 at dakotacom.net
Mon Feb 14 01:08:44 EST 2000


I'm spawning pkzip for dos using os.shell() because I would like to use the encryption 
feature.  As far as I can tell that is not available in the gzip library and the 
documentation on the cryptography toolbox didn't give me the impression that all the bugs 
were worked out.  Does anyone know whether that has changed?

Anyway, os.shell() pops up a new dos box for each call.  I'm using os.path.walk() and 
making a lot of calls to the zip program.  I'm wondering if there is a way to not spawn 
40 windows.  0 windows would be ideal.

Finally, I'm wondering if there is a way to attach to a global variable while moving 
around with os.path.walk()?  I understand recursion and have read Python's scope rules 
but I can't seem to either pass local varaibles through or to attach to a global 
variable.

Any help on any of these would be greatly appreciated.  Thanks.


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list