The source content for blog.juliobiason.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
204 B

+++
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
```