paint-brush
Determining file format using Pythonby@floyernick
28,951 reads
28,951 reads

Determining file format using Python

by Nick3mDecember 31st, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Hello everyone! Most recently, I ran into a problem: for unexplained reasons, the memory card began to move all files to the LOST.DIR folder without any extensions. For a long time, there accumulated more than 500 files of different types: pictures, video, audio, documents. It was impossible to understand the format of the <a href="https://hackernoon.com/tagged/file" target="_blank">file</a> independently, so I started looking for a way to solve this problem programmatically.

Company Mentioned

Mention Thumbnail
featured image - Determining file format using Python
Nick HackerNoon profile picture
Nick

Nick

@floyernick

L O A D I N G
. . . comments & more!

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite