(EMBEDDING) Can't get python error message

2007-07-05 Thread anonymisiert85
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

Re: EMBEDDING > Run Python & Run C Function

2007-06-22 Thread anonymisiert85
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

Re: Thunderbird access to this newsgroup

2007-06-22 Thread anonymisiert85
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

EMBEDDING > Run Python & Run C Function

2007-06-22 Thread anonymisiert85
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