Python newbie trying to embed in C++

Marwan Badawi Marwan.Badawi at
Thu Feb 28 09:11:56 CET 2013

On 27/02/2013 10:26, Ian Kelly wrote:
> On Wed, Feb 27, 2013 at 1:51 AM, Marwan <LarrxX at> 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  Make sure that 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 file solved the problem.


More information about the Python-list mailing list