02-9-2014, 12:22 AM
|
#2
|
FFR Veteran
Join Date: Oct 2008
Location: Canada
Posts: 448
|
Re: Python pattern matching algorithm tuple error
A really simple error: you need to use map[x][y] instead of map[x,y] ("x,y" gets interpreted as (x, y), so you access map[ (x, y) ] which Python doesn't like)
I'll look over the rest of the code to see if there's any other errors
edit: wow I did not know you could put commas like that in splices... see if the above works if not then... hm
Last edited by beary605; 02-9-2014 at 03:48 AM..
|
|
|