You have a tuple of tuples. To convert every tuple to a list:
[list(i) for i in level] # list of lists
Or, you can try this:
map(list, level)
And after you are done editing, then just convert them back:
tuple(tuple(i) for i in edited) # tuple of tuples
tuple(itertools.imap(tuple, edited))
You can also try using a numpy array like this:
>>> a = numpy.array(level1)
>>> a
array([[1, 1, 1, 1, 1, 1],
[1, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 1],
[1, 0, 0, 0, 0, 1],
[1, 1, 1, 1, 1, 1]])
For manipulating try this:
if clicked[0] == 1:
x = (mousey + cameraY) // 60 # For readability
y = (mousex + cameraX) // 60 # For readability
a[x][y] = 1