- 1

Folder(2)

Is it possible to write a function, method or whatever in one program. Then move to a completely different program and call it? Something similar to packages but you write yourself. If so how? (SHOULD BE IN PYTHON PLEASE OR ANYTHING BUT HOPEFULLY PYTHON).

12th Jan 2018, 5:10 AM
Smart
4 ответов
+ 2
it is easy https://docs.python.org/2/tutorial/modules.html
12th Jan 2018, 7:48 AM
Oma Falk
Oma Falk - avatar
+ 2
Check my answer in your older question: https://www.sololearn.com/Discuss/996917/?ref=app And avoid posting duplicate threads ^^
12th Jan 2018, 7:55 AM
visph
visph - avatar
- 1
What do you mean? If you mean to move on to a completely different python program than no you would have to redefine the function
12th Jan 2018, 5:16 AM
Someone Else
Someone Else - avatar
- 1
thanks
12th Jan 2018, 7:14 PM
Smart