Re: (*args **kwargs) how do I use' em?

2011-06-11 Thread FELD Boris
A good tutorial will surely help : http://www.saltycrane.com/blog/2008/01/how-to-use-args-and-kwargs-in-python/ The idea between *args and *kwargs is to create function (callables) which accepts an arbitrary number of anonymous and/or keyword arguments. It's useful when you want to create a

Re: (*args **kwargs) how do I use' em?

2011-06-11 Thread OliDa
On 11 juin, 07:01, TheSaint nob...@nowhere.net.no wrote: Hello, I'm seldomly writng python code, nothing but a beginner code. I wrote these lines = _log_in= mhandler.ConnectHandler(lmbox, _logger, accs) multhr=

Re: (*args **kwargs) how do I use' em?

2011-06-11 Thread TheSaint
OliDa wrote: maybe some clarification about kwargs... http://stackoverflow.com/questions/1098549/proper-way-to-use-kwargs-in- python Great point. Now it's clearer :) I think I'll share the dictionary which contains the configuration loaded form a file. -- goto /dev/null --

(*args **kwargs) how do I use' em?

2011-06-10 Thread TheSaint
Hello, I'm seldomly writng python code, nothing but a beginner code. I wrote these lines = _log_in= mhandler.ConnectHandler(lmbox, _logger, accs) multhr= sttng['multithread'] if multhr: _log_in= mhandler.mThreadSession(lmbox,