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

run.py 第60行请教 #3

Open
2533245542 opened this issue Jun 8, 2018 · 1 comment
Open

run.py 第60行请教 #3

2533245542 opened this issue Jun 8, 2018 · 1 comment

Comments

@2533245542
Copy link

您好,我是python新手,在学习你的源码,关于第run.py第60行我有个疑问,那个地方如果我改成

return [square[SUB_LT_Y:SUB_RB_Y,SUB_LT_X:SUB_RB_X] for square in all_square]

效果是一样的吗?

@TheThreeDog
Copy link
Owner

可以,我刚测了一下完全没问题, 并且这个写法比我的更好,我搞的反而麻烦了。

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