Answers for "python how to call another python file"

6

how to execute a python file from another python file

import  myfile

myfile.myfunction


#calls a specific function from within the file
Posted by: Guest on August-30-2020
0

python include function from another file

from filename_without_py_extension import *
functionFromIncludedFile()
Posted by: Guest on March-03-2021

Code answers related to "python how to call another python file"

Python Answers by Framework

Browse Popular Code Answers by Language