TinyPng icon indicating copy to clipboard operation
TinyPng copied to clipboard

图片批量压缩脚本(Python)

Results 4 TinyPng issues
Sort by recently updated
recently updated
newest added

/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020

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

修复了print函数在python3下无法使用的问题