python-binaryornot

check if a file is binary or text (Python 2 module)

Description

This Python package provides a function to check if a file is a text file or a binary file. It uses the same heuristic as file(1) by looking at the first 1024 bytes of the file and checks that all characters are printable.

This package contains the Python 2 module.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/audreyr/binaryornot


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-binaryornot