S
Susanne
Hello,
i need some help with python.
I have written some c++ extensions for python, and i can execute a
script, calling this functions. (PyRun_SimpleFile)
Now my problem is, that i want to parse the script first, because i
want
to know, if there are any wrong arguments (e.g. not the right number
of arguments, or of wrong type (int, char* etc.)).
PyRun_SimpleFile tells me, whether there is an error, but
it executes all calls before the wrong one.
Can anyone give me a hint?
PyParser_SimpleParseFile is not, what i am looking for!!
Thanks a lot.
Susanne
i need some help with python.
I have written some c++ extensions for python, and i can execute a
script, calling this functions. (PyRun_SimpleFile)
Now my problem is, that i want to parse the script first, because i
want
to know, if there are any wrong arguments (e.g. not the right number
of arguments, or of wrong type (int, char* etc.)).
PyRun_SimpleFile tells me, whether there is an error, but
it executes all calls before the wrong one.
Can anyone give me a hint?
PyParser_SimpleParseFile is not, what i am looking for!!
Thanks a lot.
Susanne