Answer the question
In order to leave comments, you need to log in
How to open exe file for reading through python?
exe file can be opened in a text editor in this form
And how to open it in python in the same form?
When you try to open it through with open, an error of non-decodable bytes appears.
If you simply rename it to txt, it has a hexadecimal encoding that is not supported by python.
If you open it in byte reading mode, you get this look (of the first line):
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question