User Profile
Collapse
-
vishwasreddy replied to how to pass a function value to another function...?related to kind of errorin Pythonits never been the issue but can you tell me how to pass the value of function new_proj....Y to the other function ....the test_file....or with some similar example ....that will be gr8 -
vishwasreddy replied to how to pass a function value to another function...?related to kind of errorin Pythonsir can be more specific ...lyk by doing the edit where i need to make....coz i am facing the problem from a long tym....i am kind of new to programmng nd confusing me a lot...Leave a comment:
-
vishwasreddy started a topic how to pass a function value to another function...?related to kind of errorin Pythonhow to pass a function value to another function...?related to kind of error
in this when i am trying to pass the value of new_proj()that is y to the function translate..wher e test_file=new_p roj() its not pass the address to it ...pls tell me the way how to pass it..thanks for the help
...Code:def new_proj(): x= (r"C:\Documents and Settings\KSR\Desktop\%s")%name_entry.get() if not os.path.exists(x): os.makedirs(x) shutil.copy2('C:\Documents and Settings\KSR\Desktop\god.cmd',x)
No activity results to display
Show More
Leave a comment: