title: Cython import function from other pyx
body: <p>Two <code>pyx</code> files, </p>
  
  <p><code>f1.pyx</code></p>
  
  <pre class="lang-python prettyprint-override"><code>cpdef double func1():
       return 0.01
  </code></pre>
  
  <p><code>f2.pyx</code></p>
  
  <pre class="lang-python prettyprint-override"><code>from f1 cimport func1
  </code></pre>
  
  <p>How could I import <code>func1</code> from <code>f1.pyx</code>? The reason is that I have different sections and want to put them in separate <code>pyx</code> files. But I couldn't import after I break them up.</p>