'Python text ripper for unknown file type
I'm trying to make a text ripper from python. But couldn't managed to do that.
I will use this for translations, I need to rip all the text inside that folder then save it as txt then reimport back.
Couldn't find how to do ripping part.
Here is the final stage of my code:
import glob, os
for file in glob.glob("*.*"):
with open(file, "rb") as dosya:
dosya1 = dosya.read()
Here is the example file I'm dealing with. Bunch of HEX then TEXT enter image description here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
