How do i run other scripts?
How do I run another python file?
I'm trying to get the def function in pava.py working in main.py
Voters
MesyetiIsTaken
you're*
WaruchJiratanak
I think the problem is 'pava' is not a package
But I'm not completely sure
MesyetiIsTaken
The reason I used import is because I saw while googling it that you can treat it like a package and it will run
@WaruchJiratanak
Have a look at this: https://repl.it/@malvoliothegood/Pava-v01
Also, don't use reserved words like
print
as variable names as the Python interpreter will get confused.Wow! Thanks! I have marked it as answer :)@malvoliothegood