handling different arguments depending on first argument

Paul Miller paul at fxtech.com
Sat Apr 27 15:44:17 EDT 2002


>   Sure. Try something like this:
>
>      def my_func (*args):

Thanks! I had actually JUST figured this out. It's a little weird when 
combined with keyword args, but putting it last does the trick.

Cheers!


-- 
Paul T. Miller | paul at fxtech.com | http://www.fxtech.com






More information about the Python-list mailing list