Skip to content

Instantly share code, notes, and snippets.

@offby1
Created August 8, 2015 16:29
Show Gist options
  • Save offby1/75bd6d007fe621d8ceaa to your computer and use it in GitHub Desktop.
Save offby1/75bd6d007fe621d8ceaa to your computer and use it in GitHub Desktop.
mystring1 = "cat"
mystring2 = "doge"
cmds = ['test %s' % mystring1, 'test 2 %s' % mystring2]
for cmd in cmds:
print cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment