Talking to GPG on Linux through os.popen

Morten W. Petersen morten at src.no
Thu Aug 17 07:39:21 EDT 2000


This snippet of code:

import os

f = os.popen('gpg --sign gpgtest.py','w')
f.write("Test\n")

Doesn't work for me, and I'm a bit baffled (and annoyed) because I can't
find the problem.

Thanks in advance.

-Morten




More information about the Python-list mailing list