Skip to content

Instantly share code, notes, and snippets.

@jhaubrich
Created February 25, 2015 21:08
Show Gist options
  • Save jhaubrich/4dcb6029ede144fcffc6 to your computer and use it in GitHub Desktop.
Save jhaubrich/4dcb6029ede144fcffc6 to your computer and use it in GitHub Desktop.
comm_status_names = []
for num in range(13):
for name in ['comm_status', 'node_id']:
comm_status_names.append("{name}_{num:02d}".format(**locals()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment