Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: How can we access a module written in Python from C?
Answer:

We can access the module written in Python from C by using the following method.

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

Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook