I have defined python function in one py 开发者_如何转开发file and I want to include that function in my main script. Please provide me the solution.
from other_file import other_function
# use other function:
val = other_function()
I have defined python function in one py 开发者_如何转开发file and I want to include that function in my main script. Please provide me the solution.
from other_file import other_function
# use other function:
val = other_function()
精彩评论