Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 6th, 2018 51 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top