A
A
Alexander Volkov2017-05-07 14:56:01
Python
Alexander Volkov, 2017-05-07 14:56:01

How to correctly read data from a file?

Hello dear community.
The question is next.
The Delphi program writes entries to the file. This is done with the following function:

BlockWrite(FT, Map.zmatrix[i][Map.startx], Map.width, bytes)
;
How to correctly read data with a python script?
I have no experience in Delphi, not in Python, if I asked the question incorrectly, please correct me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-05-07
@dimonchik2013

0) know the format
1) open the file for reading
2) parse the format

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question