Can a program written in python be called and used on a c language program?
If i can, please tell me how to do it.
There is no knowledge about c language.
Answer # 1
You can do this by invoking a Python command using the
system ("full path of python script file");
Depending on what you want to do with the result of the Python script, you may use a different method.
Answer # 2
A page that might be helpful
It would be harsh or reckless without knowledge of the C language.
The best method depends on what you want to do.
Preprocess data with python and throw the result to C
First, run the python program and output it in csv or binary format, then read the file from C
I just want to run a python program from C
It can also be called as a system command ()
- c language the program that inputs two dates and calculates the number of days between them does not work well
- python - why the image recognition program is not learning
- beginning of c language i want to create a program that inputs characters for bytes specified by calloc
- i want to speed up this program with python
- python - i don't know in which language or library to write the program
- python 3x - a program that outputs the number 1 in a 3-digit integer
- python - what is the character code of the program standard output?
- python - difference in execution speed (program executed at a specified time)
- python - raspai ad conversion program
- c++ - c language program that automatically changes the display every 5 lines
- i want to implement a program that sorts the stock price of a specified id in descending order
- python - why different results are obtained with the same program
- python 3x - error in sample program of anaphora analysis of natural language processing using spacy and neuralcoref
- c++ - c language program to display data by inputting name
- python 3x - displaying ie11 with selenium causes the program to stop halfway
- python - about the program for electronic bulletin board made by raspberry pi
- c++ - c language program that extracts the character string of char character  
- python 3x - a program that outputs the type and number of characters contained in a character string
- python - which programming language can you use to create the dynamic graph you see on twitter?
- python 3x - external program execution fails