Skip to content
Myr

t.py

This file

Path

t.py

4 lines · 104 bytes · Python

Last changed by

update charadeKenneth Reitzbefore adoptionad31149

History of this file

Take it

1from requests.packages import chardet23with open('test', 'rb') as f:4    print(chardet.detect(f.read()))