[Tutor] Guidance needed for script

rony dsouza rony_dsouza at yahoo.com
Mon May 11 06:23:24 CEST 2009





Hi Al,
 
My name is Rony, I am new to python.
 
Need your help and guidance for developing a python script with the below details:
 
Using GnuPG to encrypt a file(s) on linux.  Essentially two modes of operation would be ideal:
 
1.       Running something like “./encrypt.py inputfilename.txt” which will output a file called “inputfilename.txt.pgp”.
 
2.       The ability to pipe input into “encrypt.py” and have it write out in encrypted format.  Something like “echo thisistestdata | ./encrypt.py > encrypted.pgp”.
 
I would be greatful, to you for the needful.
 
Regards,
 
Rony



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090510/922e5d48/attachment.htm>


More information about the Tutor mailing list