@ -0,0 +1,14 @@
+++
title = "Python"
date = 2021-03-05
[taxonomies]
tags = ["python", "file", "encoding"]
## Getting the encoding of a file
```python
with open('filename') as origin:
return origin.encoding
```