title: How to call .pyc function from C or C++?
body: <p>I have .pyc files I know functions inside it.</p>
  
  <p>I need to call those function from C/ C++
  I tried using <strong>PyImport_Import</strong> but it returns NULL.</p>
  
  <pre><code>pName = PyString_FromString("test");
  pModule = PyImport_Import(pName );
  </code></pre>
  
  <p>if I call <strong>pModule = PyImport_ImportModule("py_ffile");</strong> then it's working fine for .py files. But I don't want to call function from .py. I want to call it from .pyc file.</p>