Skip to content

Instantly share code, notes, and snippets.

@antonva
Created February 23, 2012 10:36
Show Gist options
  • Save antonva/1892182 to your computer and use it in GitHub Desktop.
Save antonva/1892182 to your computer and use it in GitHub Desktop.
foo = Foo()
L = ['foo', 'bar', 'naga', 'nooch', 'pooch', 'smooch']
for i, item in L:
foo.i = item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment