The Python Oracle

NameError: global name 'unicode' is not defined - in Python 3

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Riding Sky Waves v001

--

Chapters
00:00 Question
01:01 Accepted answer (Score 281)
01:37 Answer 2 (Score 48)
01:58 Answer 3 (Score 25)
02:14 Answer 4 (Score 4)
02:56 Thank you

--

Full question
https://stackoverflow.com/questions/1987...

Accepted answer links:
[Python 3 porting HOWTO]: http://docs.python.org/dev/howto/pyporti...
[Porting to Python 3: An in-depth guide]: http://python3porting.com/
[2to3]: http://docs.python.org/3/library/2to3.ht...

Answer 3 links:
[six]: https://pythonhosted.org/six/

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #unicode #python3x #nameerror #bidi

#avk47