TinyPng icon indicating copy to clipboard operation
TinyPng copied to clipboard

请问这个问题是什么

Open diudiuhaha opened this issue 5 years ago • 4 comments

$ python3 tinypng.py File "tinypng.py", line 24 print "compress_path-------------------------------------" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("compress_path-------------------------------------")?

diudiuhaha avatar May 01 '19 08:05 diudiuhaha

可能是 python 版本问题

GcsSloop avatar May 07 '19 00:05 GcsSloop

python2和python3的区别 python2语法*print 'xxxx' print( 'xxxx' )都可以
python3必须print('xxx')

l2xin avatar May 17 '19 01:05 l2xin

有解决方法吗,我也遇到了

Sucgz avatar Nov 09 '21 03:11 Sucgz

My pr code can be run successfully. I have fixed the bug.

liuhui0401 avatar Dec 19 '21 16:12 liuhui0401