On 27/02/2013 10:26, Ian Kelly wrote:
On Wed, Feb 27, 2013 at 1:51 AM, Marwan <lar...@free.fr> wrote:
When I run the generated exe, I get errors about the functions not
existing...
TestPython.exe test Hello
AttributeError: 'module' object has no attribute 'Hello'
Cannot find function "Hello"
"test" is the name of a module in the standard library.  My guess
would be that for some reason it's importing that module rather than
your test.py.  Make sure that test.py can be found on your sys.path,
and perhaps change the name of your module to reduce confusion.

I just noticed that my reply went to the message sender and not to the newsgroup, so I'm posting again: thanks, that was it. Just renaming my test.py file solved the problem.
%M
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to