Login
Remember
Register
Ask a Question
Explain how can you access a module written in Python from C?
0
votes
asked
Jan 1, 2021
in
Python
by
SakshiSharma
Explain how can you access a module written in Python from C?
#python-c
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 1, 2021
by
SakshiSharma
You can access a module written in Python from C by following method,
Module = =PyImport_ImportModule("<modulename>");
...