开发者

How to Read-in Binary of a File in Python

开发者 https://www.devze.com 2023-04-11 03:25 出处:网络
In Python, when I try to read in an executable file with \'rb\', instead of getting the binary values I expected (0010001 etc.), I\'m getting a series of letters and symbols that I do not know what to

In Python, when I try to read in an executable file with 'rb', instead of getting the binary values I expected (0010001 etc.), I'm getting a series of letters and symbols that I do not know what to do with.

Ex: ???}????l?S??????V?d?\?hG???8?O=(A).e??????B??$????????:    ???Z?C'???|lP@.\P?!??9KRI??{F?AB???5!qtWI??8
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号