Hello, It's showing import error, not executing "from pytesser import *" command. First i thought its giving error because it need some variable values. So i tried to execute the following test commads given on Assignment One page.
Here is the log: manisha-macbook:Downloads Manisha$ cd pytesser_v0.0.1 manisha-macbook:pytesser_v0.0.1 Manisha$ python3.1 Python 3.1.1 (r311:74543, Aug 24 2009, 18:44:04) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pytesser import * Traceback (most recent call last): File "", line 1, in File "pytesser.py", line 77 print text ^ SyntaxError: invalid syntax >>> x=image_file_to_string('phototest.tif') Traceback (most recent call last): File "", line 1, in NameError: name 'image_file_to_string' is not defined >>> print x File "", line 1 print x ^ SyntaxError: invalid syntax >>> pytesser Traceback (most recent call last): File "", line 1, in NameError: name 'pytesser' is not defined >>> tesseract Traceback (most recent call last): File "", line 1, in NameError: name 'tesseract' is not defined >>> tesseract.exe Traceback (most recent call last): File "", line 1, in NameError: name 'tesseract' is not defined >>> pytesser.pyc Traceback (most recent call last): File "", line 1, in NameError: name 'pytesser' is not defined manisha-macbook:pytesser_v0.0.1 Manisha$ tesseract.exe -bash: tesseract.exe: command not found manisha-macbook:pytesser_v0.0.1 Manisha$ pytesser.pyc -bash: pytesser.pyc: command not found manisha-macbook:pytesser_v0.0.1 Manisha$ tesseract -bash: tesseract: command not found manisha-macbook:pytesser_v0.0.1 Manisha$ pytesser -bash: pytesser: command not found manisha-macbook:pytesser_v0.0.1 Manisha$ readme -bash: readme: command not found Kind regards Manisha
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig