0 votes
in Python by
Explain how can you access a module written in Python from C?

1 Answer

0 votes
by
You can access a module written in Python from C by following method,

Module = =PyImport_ImportModule("<modulename>");

Related questions

0 votes
asked Jan 16, 2021 in Python by SakshiSharma
0 votes
asked Aug 29, 2020 in Python by Robindeniel
...