I run this string to produce a error "x+1"
PyRun_SimpleStringFlags() return -1, so that i know this is a script
with error inside...
but now - how can i get error message?
i tested some py-functions - but this functions do not work... i
called this functions direct after PyRun_SimpleStringFlags
i readed this before but not understand it - but now - the second time
it works
THANK YOU!!
--
http://mail.python.org/mailman/listinfo/python-list
hm i have the same problem with thunderbird + comp.lang.python
so that i decided to use google for first time
--
http://mail.python.org/mailman/listinfo/python-list
At the moment i can run python-string-code from C (MinGW, WinXP)
But how can i register a C-function in python-RUNTIME and call this C
function from python - without wrapper dll's or libs???
STEPS:
initialize python
regsiter foo() ### don't know how to do this
run python-script "c=foo(a