I need to write a script that will check a file and find out what type of file it is. The files I am downloading none of them have extensions and some are binary others txt and html files. I only want to work with the binary files.
If anyone could point me in the needed direction it would be great.
thank you in advance.
2
Contributors
1
Reply
1 Hour
Discussion Span
1 Year Ago
Last Updated
2
Views
Question Answered
Related Article:Can't write data to binary file
is a solved Python discussion thread by valorien that has 2 replies, was last updated 1 year ago and has been tagged with the keywords: file, binary.