Answers for "UTF-8 in Python 2 vs. UTF-8 in Python 3"

1

python utf8

# insert in the first line of the file

#!/usr/bin/python3
# -*- coding: utf-8 -*-

# or

#!/usr/bin/env python
# -*- coding: utf-8 -*-
Posted by: Guest on February-01-2021
0

python encoding utf 8

# -*- coding: utf-8 -*-
Posted by: Guest on September-03-2021

Python Answers by Framework

Browse Popular Code Answers by Language