a guest Dec 6th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- def function(**keywords):
- for key, value in keywords:
- joe = 'joe'
- 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())
RAW Paste Data