|

楼主 |
发表于 2020-2-17 19:21:43
|
显示全部楼层
- ========== RESTART: C:/Users/Administrator/Desktop/脚本文件/Python全屏截图.py ==========
- Traceback (most recent call last):
- File "P:\1 Python\lib\site-packages\PIL\Image.py", line 2082, in save
- format = EXTENSION[ext]
- KeyError: ''
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:/Users/Administrator/Desktop/脚本文件/Python全屏截图.py", line 7, in <module>
- im.save("C:\]Users]\Administrator\]Desktop\脚本文件")
- File "P:\1 Python\lib\site-packages\PIL\Image.py", line 2084, in save
- raise ValueError("unknown file extension: {}".format(ext))
- ValueError: unknown file extension:
- >>>
复制代码 |
|