MQL5 array to Python

 
Hello. Is it possible to read an MQL5 binary file that stores an array, into a python program? I know I can use sockets, but it's useless when either is not reachable. I'd like to save an array to a file, then send it to my python server when it is reachable/convenient. Not posting any codes yet. But I will if anyone knows a workaround.
 
Anonymous3 Geek:
Hello. Is it possible to read an MQL5 binary file that stores an array, into a python program? I know I can use sockets, but it's useless when either is not reachable. I'd like to save an array to a file, then send it to my python server when it is reachable/convenient. Not posting any codes yet. But I will if anyone knows a workaround.

Your best bet is to serialize the array and save it as JSON. 

 
nicholish en:

Your best bet is to serialize the array and save it as JSON. 

That'd work. Thanks
Reason: