En Fri, 30 Jan 2009 08:50:45 -0200,
escribió:
Okay, thats just the question. I did that what you wrote but it
doesn't really works.
What is, if Py_SetProgramName() gets a NULL Pointer, if argv[0] is
empty?
Why so? Are you in an embedded environment or something that doesn't have
a filesys
Hi!
Okay, thats just the question. I did that what you wrote but it
doesn't really works.
What is, if Py_SetProgramName() gets a NULL Pointer, if argv[0] is
empty?
Well, the problem is, in my opinion that os.environ returns some paths
in python.exe
and in my embedded interpreter if I call os.envi
En Fri, 30 Jan 2009 06:54:56 -0200,
escribió:
Thanks. Well, os.py is found and all the others which don't need a
library.
I tested this:
I execute Py_Main(...) in my app which executes the console
interpreter and
i tried to execute "import socket" which works.
So Py_Main has something what
Hi!
Thanks. Well, os.py is found and all the others which don't need a
library.
I tested this:
I execute Py_Main(...) in my app which executes the console
interpreter and
i tried to execute "import socket" which works.
So Py_Main has something what my created PyRun_SimpleString doesn't
have.
Ma
En Thu, 29 Jan 2009 17:07:01 -0200,
escribió:
i have a problem. I compiled Python and the socket module so I got
this structure. (all on windows)
C:\test\dll_files\python25.dll
C:\test\my_app
C:\test\dll_files\DLLs\
C:\test\dll_files\python.exe
If I run python.exe I get the console and I ca
Hi!
Okay, I checkede Py_Main(...) and called some python code there. There
it works too. So I know whats missing.
sys.environ.. returns nothing.
How can I set the paths with the Python C API?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
i have a problem. I compiled Python and the socket module so I got
this structure. (all on windows)
C:\test\dll_files\python25.dll
C:\test\my_app
C:\test\dll_files\DLLs\
C:\test\dll_files\python.exe
If I run python.exe I get the console and I can call "import socket"
which
succeeds. I wrote
Hi,
i have a problem. I compiled Python and the socket module so I got
this structure. (all on windows)
C:\test\dll_files\python25.dll
C:\test\my_app
C:\test\dll_files\DLLs\
C:\test\dll_files\python.exe
If I run python I get the console and I can call "import socket" which
succeeds. I wrote a sm