Yan Jian wrote:
Below is what I copy from the Internet:
import binhex
import sys
infile = "in.txt"
binhex.binhex(infile, sys.stdout)
Every time I try to run this script, I get a message saying
Traceback (most recent call last):
File "D:\eclipse_workspace\encode\src\binhex.sample.py", line
On Thu, Aug 20, 2009 at 10:07 PM, Yan Jian wrote:
>
> Does anyone encounter similar situation. Thank you for your help?
>
Yeah, in Python 3.1 I get this:
Traceback (most recent call last):
File "test.py", line 6, in
binhex.binhex(file, sys.stdout)
File "c:\Python31\lib\binhex.py", lin
Below is what I copy from the Internet:
import binhex
import sys
infile = "in.txt"
binhex.binhex(infile, sys.stdout)
Every time I try to run this script, I get a message saying
Traceback (most recent call last):
File "D:\eclipse_workspace\encode\src\binhex.sample.py", line 6, in
import