When I try and import my file into Jupyter using
from fatigue import *
File "myfile.py", line 189
SyntaxError: invalid syntax
Looks like you have a error in the
effectiveness() function, inside your
myfile.py, so when you import this file to your main one, you get that error.
So, first of all, resolve the error back in your
myfile.py, then it should work fine!
Also, I recommend you to use
import fatigue instead of
from fatigue import *, it's much better ;)