Quantcast
Channel: MobileRead Forums - Conversion
Viewing all articles
Browse latest Browse all 3900

3.34 calibre-debug runs the script code under Python 3

$
0
0
Have old Python 2.7 script written in year 2013. It used to run under calibre-debug for five years. However, update to 3.34 began to throw syntax errors in all print commands in this script. Enclosing print operands in parenthesis in accordance with Python 3 standard helped.
I have 32- and 64-bit Python 2.7 and 3.4 installed on Windows 10 machine.
Bare command "Python" invokes Python 3.4.
Still, my unmodified original script runs OK under Calibre 3.31.
Is it possible that 3.34 calibre-debug in my environment somehow runs scripts under Python 3?

Viewing all articles
Browse latest Browse all 3900

Trending Articles