Python Forum
I'm afraid it is a question of copyright
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I'm afraid it is a question of copyright
#10
# -*- coding: utf-8 -*- was needed in Python 2 to set source encoding to UTF-8.
Python 2 has default ASCII encoding,Python 3.x has default UTF-8 encoding.
So using that line only make sense if using Python 2,
or want to deviate from the default UTF-8 in Python 3 eg # -*- coding: latin-1 -*-.
Reply


Messages In This Thread
I'm afraid it is a question of copyright - by sylas - Sep-22-2017, 06:52 AM
RE: I'm afraid it is a question of copyright - by snippsat - Sep-22-2017, 01:25 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020