Sept. 26, 2001
7:57 p.m.
********func.py*************** def fun (): print v1+v2
**************pro.py***********
You can save: def fun (v1, v2): print v1 + v2 as func.py, then go:
from func import * funname = fun v1 = "Hello" v2 = "World" eval("funname(v1,v2)") HelloWorld
Of course the easier thing would be to just go:
from func import * fun("Hello","World") HelloWorld
But I assume you have your reasons... Kirby