![]() |
Can't load binary file into Array...
Here's what i'm trying to do:
1. Generate a random file 2. Read that file in by n-byte chunks 3. Store each chunk in it's own Array element error produced: ---------------------------------------------------------------------------------------------------------- SyntaxError: can't assign to function call ---------------------------------------------------------------------------------------------------------- Bits and info: ================ - i'm on python 2.7 - OS is Linux 64 bit ================ am i using the wrong kind of data structure to store the chunks of data? here's my code: Code:
# Split the File int an Array |
| All times are GMT +1. The time now is 06:13 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.