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

incompatible with Python 3.5 #2

Open
garretwilson opened this issue Jul 12, 2017 · 3 comments
Open

incompatible with Python 3.5 #2

garretwilson opened this issue Jul 12, 2017 · 3 comments

Comments

@garretwilson
Copy link

Doesn't seem to work with Python 3.5.

SyntaxError: Missing parentheses in call to 'print'

@JackChen007
Copy link

D:\mydoc\calibre\calibre\The Economist (187)>kindlestrip "The Economist - calibre.mobi" "The Economist - strip.mobi" Traceback (most recent call last): File "c:\users\shihang\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\shihang\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\ShiHang\AppData\Local\Programs\Python\Python36-32\Scripts\kindlestrip.exe\__main__.py", line 5, in <module> File "c:\users\shihang\appdata\local\programs\python\python36-32\lib\site-packages\kindlestrip.py", line 70 print "Warning: pathof expects utf-8 encoded byestring: ", s ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Warning: pathof expects utf-8 encoded byestring: ", s)?

Also not work on Python 3.5 .

@cxumol
Copy link
Contributor

cxumol commented Jul 23, 2018

I've ported it to python 3 version, and it works well on my machine (python 3.6.6).
pls check out #3

@yhh2021
Copy link

yhh2021 commented Jul 20, 2021

This script is written for Python 2.

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

4 participants