TinyPng
TinyPng copied to clipboard
请问这个问题是什么
$ python3 tinypng.py File "tinypng.py", line 24 print "compress_path-------------------------------------" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("compress_path-------------------------------------")?
可能是 python 版本问题
python2和python3的区别
python2语法*print 'xxxx' print( 'xxxx' )都可以
python3必须print('xxx')
有解决方法吗,我也遇到了
My pr code can be run successfully. I have fixed the bug.