Re: python's YENC.DECODE -> weird output

2008-07-16 Thread Terry Reedy
John Savage wrote: I save posts from a midi music newsgroup, some are encoded with yenc encoding. This gave me an opportunity to try out the decoders in Python. The UU decoder works okay, but my YENC effort gives results unexpected: import yenc, sys fd1=open(sys.argv[1],'r') #y

Re: python's YENC.DECODE -> weird output

2008-07-16 Thread John Machin
On Jul 16, 11:33 pm, John Savage <[EMAIL PROTECTED]> wrote: > I save posts from a midi music newsgroup, some are encoded with > yenc encoding. This gave me an opportunity to try out the decoders > in Python. The UU decoder works okay, but my YENC effort gives > results unexpected: > > import ye

python's YENC.DECODE -> weird output

2008-07-16 Thread John Savage
I save posts from a midi music newsgroup, some are encoded with yenc encoding. This gave me an opportunity to try out the decoders in Python. The UU decoder works okay, but my YENC effort gives results unexpected: import yenc, sys fd1=open(sys.argv[1],'r') #yenc.encode(sys.argv[1],"