Re: PYTHONPATH?

2006-02-24 Thread Tombo
Said obscure dialog is here: My Computer > Properties > Advanced (tab) > Environment Variables You probably want a new system variable. You can check the value by starting a new terminal window and typing: echo %PYTHONPATH% Cheers Tombo Diez B. Roggisch wrote: > Dr.

Re: Calling a function with unknown arguments?

2007-03-07 Thread Tombo
On Mar 7, 10:55 pm, "Rob" <[EMAIL PROTECTED]> wrote: > I can get a list of a function's arguments.>>> def bob(a, b): > > ... return a+b > ...>>> bob.func_code.co_varnames > > ('a', 'b') > > Let's say that I also have a dictionary of possible arguments for this > function. > > >>> possible = {'a