You can access a module written in Python from C by following method, Module = PyImport_ImportModule("<modulename>"); Post navigation Explain how can you generate random numbers in Python? What is the use of // operator in Python?