Re: How to compress a folder and all of its sub directories and files into a zip file?

2005-06-27 Thread Peter Szinek
Hi, What about this: import os,zipfile from os.path import join zip = zipfile.ZipFile("myzipfile.zip", 'w') for root, dirs, files in os.walk('.'): for fileName in files: zip.write(join(root,fileName)) zip.close() Maybe it zips also the myzipfile.zip ;-) Probably this is not neede

Re: Which IDE is recommended?

2005-04-27 Thread Peter Szinek
What about eric? (btw afaik it is not listed among the python.org editors, or have i overlooked it)? I have installed it today only, so do not kill me if it's crap, i am just asking ;-) however it looks promising... (at least after IDLE) I have been using PyDev for some time, but i think it is