Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3 support? #6

Open
liuminglm opened this issue Apr 22, 2018 · 1 comment
Open

python3 support? #6

liuminglm opened this issue Apr 22, 2018 · 1 comment

Comments

@liuminglm
Copy link

Will support py3 in the future?

@Agent-Hellboy
Copy link

Agent-Hellboy commented Nov 5, 2020

Hi @liuminglm

Does this require more then changing return htlm_code[0] to return [html_code[0].encode ()]

return html_code[0]

I have tested the example by simply changing this line and tweaking imports according to python3. And it's working.
Am I missing something. Is there some other place also where unicode character handling in required.

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

No branches or pull requests

2 participants