Login
Remember
Register
Ask a Question
How can we access a module written in Python from C?
0
votes
asked
May 17, 2020
in
Python
by
SakshiSharma
How can we access a module written in Python from C?
#python-access-module
#module-access-python
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 17, 2020
by
sharadyadav1986
We can access the module written in Python from C by using the following method.
Module == PyImport_ImportModule("<modulename>");
...