Re: naming the main module in embedded Python

2010-09-21 Thread Burton Samograd
Tomasz Koziara writes: > I am embedding Python as an interpret in my code. Now, whenever my > code or Python itself issues an error/warning message I am getting > something like: > > File "", line 1, in > > or > > __main__:46: RuntimeWarning: My warning message > > I am using PyRun_SimpleString t

naming the main module in embedded Python

2010-09-21 Thread Tomasz Koziara
Hi I am embedding Python as an interpret in my code. Now, whenever my code or Python itself issues an error/warning message I am getting something like: File "", line 1, in or __main__:46: RuntimeWarning: My warning message I am using PyRun_SimpleString to load part of the code and the