Guest User

Untitled

a guest
Dec 6th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. def function(**keywords):
  2. for key, value in keywords:
  3. print(value)
  4. joe = 'joe'
  5. bug='bug'
  6. parameter_list = ('name=joe, insect=bug', 'name=joe')
  7.  
  8. # test parameters my hacky way
  9. for parameters in parameter_list:
  10. # place to test function
  11. exec('function('+parameters+')', locals(), globals())
Add Comment
Please, Sign In to add comment