1
No. You can simply leave the 2 scripts in the same directory, and whatever you run, write in the first line "import Dooutroscript" (without the quotes). For every other script that has functions you wanted to use, you must make an import. Or you can do "import script1,script2,script3,...,scriptN" (no quotes). Example:
import ScriptQueContemDistance, ScriptQueContemArea
#seu código aqui
I don’t quite understand, but the other functions are in another file, right? If so, use
import nome_do_arquivo
, and usenome_do_arquivo.distance(parametros)
to call the function.– Antony Gabriel
Instead of image the ideal if you put the code, the question is too obscure. In which file do you call "other functions"? how many files are there? can put an example with two minimum functions (Helo world, for example) one calling the other?
– Sidon