Numba. How to open files
<p>I'm working with this function:</p>

<pre><code>def read_example(water_bound, filename, conditions):

    f = open(filename,"r")
        for i in range(0, conditions):

            lines = f.readline()

            test = map(int, lines.split('            '))

            water_bound.append( test[0]-1 )
</code></pre>

<p>and I wanna be able to use it with <code>numba</code>. As far as I understand from <a href="http://numba.pydata.org/numba-doc/0.6/doc/types.html" rel="nofollow">here</a>, I must add this line before my function declaration:</p>

<pre><code>@jit('void(int32[:], c_string_type, int32 )',nopython=True)
</code></pre>

<p>However, I got this error:</p>

<blockquote>
  <p>NameError: name 'c_string_type' is not defined</p>
</blockquote>