string parameter replacement question
oliver
fwang2 at yahoo.com
Mon Jun 19 14:38:51 EDT 2000
hi,
I have a function defined to accept one string parameter, inside this
funtion, I need to call another function to take this string as part of
the parameter, I am confused how to make the replacement happen. See
following code:
def fun1(str):
fun2("input=str")
Noted that fun2 is from a moudle and it is expecting such a string. But
the replacement won't happen with above structure, for example, fun1("me")
won't produce a fun2("input=me"). Can anyone help me out here?
Thanks a lot
More information about the Python-list
mailing list