Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def function(**keywords):
- for key, value in keywords:
- print(value)
- joe = 'joe'
- bug='bug'
- parameter_list = ('name=joe, insect=bug', 'name=joe')
- # test parameters my hacky way
- for parameters in parameter_list:
- # place to test function
- exec('function('+parameters+')', locals(), globals())
Add Comment
Please, Sign In to add comment