1

What i'm coding requires a python file, called main, importing another python file to run its code entirely before returning to run to main. However the imported python file requires data from the original python file to work properly? is there a way to have parameters or something similar when importing the file? i tried this, but didnt work quite obviously:

Dataset="Hello world"
import ExternalFile(Dataset)
snaktastic
  • 43
  • 1
  • 1
  • 6

0 Answers0