cdgriffith / puremagic

Pure python implementation of identifying files based off their magic numbers
MIT License
161 stars 34 forks source link

Find something as quick yet safer than eval() #4

Closed cdgriffith closed 7 years ago

cdgriffith commented 10 years ago

Instead of opening a seperate data file and evaling it, find a method that is just as fast to store that information that is safer and just as easy.

cdgriffith commented 7 years ago

develop has working code with magic_data.json file instead of weird eval.