Skip to content

Instantly share code, notes, and snippets.

@anteaya
Created January 16, 2013 19:42
Show Gist options
  • Select an option

  • Save anteaya/4550160 to your computer and use it in GitHub Desktop.

Select an option

Save anteaya/4550160 to your computer and use it in GitHub Desktop.
for index, key in enumerate(keys): #key == publicURL; index == 4
if key is None:
for index, key in enumerate(keys): #key == compute; index == 5
if key is None:
for index, key in enumerate(keys): #key == None; index == 6
if key is None:
#keys[index] == None
keys[index] = '?' #keys[index] == ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment