Categories
How to make import file with function work?
The file with the function has import and the name of the module, but when importing this file into another and calling the import function, it does not work, how to solve it?
Answer the question
In order to leave comments, you need to log in
import modulename result = modulename.functionname(arg1,arg2) from modulename import functionname result = functionname(arg1,arg2)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question