Home > Back-end >  C called in python, use PyRun_SimpleString print a word, not an error and no print any information
C called in python, use PyRun_SimpleString print a word, not an error and no print any information

Time:09-17

I have added the python path, as the chart

And in the header file contains the Python. H file,

But in the program, using PyRun_SimpleString function performs the python print program, there is no error, also don't have any output, which is a great god can give to see what's going on?

CodePudding user response:

Need to Python library files generated executable file together with you
  • Related