-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
Python 3 issues on Windows when placing images in base64 in a panel #985
Comments
Fix verified. Script was modified to handle more python 3 issues with bytes. Here is the script that successfully executed on both Python 2 and 3:
The versions that successfully executed the script were:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code below generates an html file that contains an image in it and allows linking it. This technique is useful to generate static html files with links and some hovering text.
However, this technique works only on python 2 and breaks on python 3.
The program works fine on python 2 with the following libraries:
The program breaks on python 3 with the following output:
In short : os.path.isfile breaks on long strings on windows.
The text was updated successfully, but these errors were encountered: