Skip to content

Fix: In python 3 strings are unicode by default..#2

Open
0x30c4 wants to merge 1 commit into
omicronlab:masterfrom
0x30c4:master
Open

Fix: In python 3 strings are unicode by default..#2
0x30c4 wants to merge 1 commit into
omicronlab:masterfrom
0x30c4:master

Conversation

@0x30c4
Copy link
Copy Markdown

@0x30c4 0x30c4 commented Oct 5, 2021

In python 3 strings are unicode by default. So, I add the a try except block to catch to make the code compatible with python3.

https://docs.python.org/3.0/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant