Re: [Tutor] Python 2.7.1 interpreter question

2010-12-29 Thread Steven D'Aprano
Frank Chang wrote: 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 list(automata.find_all_matches('nice', 1, m)) AttributeError: 'modul

Re: [Tutor] Python 2.7.1 interpreter question

2010-12-29 Thread Alan Gauld
"Frank Chang" wrote automata.py. The pastebin url for automata.py is: http://pastebin.com/embed_iframe.php?i=J9MRPibX"; style="border:none;width:100%"> list(automata.find_all_matches('nice', 1, m)) AttributeError: 'module' object has no attribute 'find_all_matches' find_all_matches() i

[Tutor] Python 2.7.1 interpreter question

2010-12-29 Thread Frank Chang
I separated my test program into two python files. The first one is automata.py. The pastebin url for automata.py is: http://pastebin.com/embed_iframe.php?i=J9MRPibX"; style="border:none;width:100%"> The second file is automata_test2.py. It imports automata.py. The pastebin url for automat