Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem with "invalid literal for int() with base 10: ''
Post: RE: Problem with "invalid literal for int() with b...

Are you thinging this? data = 0xffffffff data = ReadFile(0, 1024) custom_crc = crc.custom_crc32(int(hex(data), 16))Because, now I get new error:custom_crc = crc.custom_crc32(int(hex(data), 16)) Typ...
jirkaj4 General Coding Help 4 10,471 Jan-23-2018, 06:55 PM
    Thread: Problem with "invalid literal for int() with base 10: ''
Post: Problem with "invalid literal for int() with base ...

Hello friends. I try calculate CRC32 from my binary file. But Anythink is wrong. Here is function to read and print block of bin file. It is working very fine. def ReadFile(offset, blok): i = -15 ...
jirkaj4 General Coding Help 4 10,471 Jan-23-2018, 06:17 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020