1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python2 def fun(*args, **kwargs): print args print kwargs if __name__=="__main__": fun(1,2,3,4,a=2,b=4,c=4)