HI! To all, with open(from_dir + "\\" + name_py,"wb") as outfile: cPickle.dump(str1,outfile) after doing above I zip the file with some other files into a password secured zip file using win rar.
I can extract all other files except the py file. pload = cPickle.load(zf.open("my.py",pwd=password)) this gives an EOF . Does any body know why? Can anyone show how to extract a pickle file from a zipfile? Thanks in advance Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ********************************************************************************************** This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. **********************************************************************************************
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor