Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问运行报这个错误怎么解决 #2

Closed
Blusez opened this issue Jan 13, 2018 · 1 comment
Closed

请问运行报这个错误怎么解决 #2

Blusez opened this issue Jan 13, 2018 · 1 comment

Comments

@Blusez
Copy link

Blusez commented Jan 13, 2018

Traceback (most recent call last):
File "d:/studyspace/python_/chongding-master/search.py", line 32, in
path=capture.cap()
File "d:\studyspace\python_\chongding-master\capture.py", line 16, in cap
img.save(path+".png")
File "D:\Program Files\python35_64\lib\site-packages\PIL\Image.py", line 1927, in save
fp = builtins.open(filename, "w+b")
OSError: [Errno 22] Invalid argument: '2018-01-13 14:39:59.png'

@Jerome-MJ
Copy link
Owner

文件权限问题好像,
windows写上全路径地址把。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants