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

Small glitch #1

Open
everythingability opened this issue Dec 30, 2020 · 2 comments
Open

Small glitch #1

everythingability opened this issue Dec 30, 2020 · 2 comments

Comments

@everythingability
Copy link

Just working through the instructions. I got...

  File "/Users/tomsmith/pmst-master/tools/pointillism-spritesheet.py", line 9, in <module>
    for h in range(0,30,2)+range(100,130,2):

fixed with...

joinedlist = range(0,30,2)+range(100,130,2)
for h in joinedlist:
@everythingability
Copy link
Author

Oh nope...
TypeError: unsupported operand type(s) for +: 'range' and 'range'

@LingDong-
Copy link
Owner

Hi, I think the script is written for python 2, quick fix for python 3 would be

list(range(0,30,2))+list(range(100,130,2))

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