Hi everyone, I get a problem when using binhex module

2009-08-20 Thread Yan Jian
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 module

Re: Hi everyone, I get a problem when using binhex module

2009-08-20 Thread Xavier Ho
On Thu, Aug 20, 2009 at 10:07 PM, Yan Jian ballack...@gmail.com 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 module binhex.binhex(file, sys.stdout) File

Re: Hi everyone, I get a problem when using binhex module

2009-08-20 Thread Dave Angel
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 6,