I separated my test program into two python files. The first one is
automata.py. The pastebin url for automata.py is:
<iframe src="http://pastebin.com/embed_iframe.php?i=J9MRPibX"
style="border:none;width:100%"></iframe>
The second file is automata_test2.py. It imports automata.py. The
pastebin url for automata_test2.py is:
<iframe src="http://pastebin.com/embed_iframe.php?i=A44d2EvV"
style="border:none;width:100%"></iframe>.
When I use the Python 2.7.1 interpreter I get the following traceback
:
F:\shedskin\shedskin-0.7>python automata_test2.py
Traceback (most recent call last):
File "automata_test2.py", line 23, in <module>
list(automata.find_all_matches('nice', 1, m))
AttributeError: 'module' object has no attribute 'find_all_matches'
Could anyone help me fix this error? I am new to python. Thank you.
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor