On Friday, September 20, 2013 10:51:46 AM UTC-5, bab mis wrote: > Hi , > > I have a function as below: > > > > def func(**kwargs): > > ... > > ... > > > > > > > > ==== > > args="a='b',c='d'" > > > > i want to call func(args) so that my function call will take a var as an > parameter. > > > > it fails with an error "typeError: fun() takes exactly 0 arguments (1 given)" > > > > . Is there any other way to get the same.
Hi, may be this will be useful to you: http://simeonfranklin.com/blog/2012/jul/1/python-decorators-in-12-steps/ Go to Section 11 in the document. -- https://mail.python.org/mailman/listinfo/python-list