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>
import binhex
File "C:\Python25\lib\binhex.py", line 12, in <module>
# easy interface should work "as expected" on any platform.
TypeError: 'module' object is not callable
Does anyone encounter similar situation. Thank you for your help?
--
http://mail.python.org/mailman/listinfo/python-list