Load c++ memory file into Python
<p>I have a file that in C++ I load into array using below code:</p>

<pre><code>
int SomeTable[10000];

int LoadTable()
{
    memset(SomeTable, 0, sizeof(SomeTable));
    FILE * fin = fopen("SomeFile.dar", "rb");
    size_t bytesread = fread(SomeTable, sizeof(SomeTable), 1, fin);
    fclose(fin);
}
</code></pre>

<p>The file is binary code of 10000 integers, so in C++ it could be directly loaded into memory. Is there a fansy way of doing that in Python?</p>

<p>best regards,
Rok</p>
