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

update charadeKenneth Reitzbefore adoptionad31149

lines 1–4why, one step back
1from requests.packages import chardet
23with open('test', 'rb') as f:4 print(chardet.detect(f.read()))