I am trying to import a python file from another directory in my current working python file as shown below snapshot. I would appreciate if you guys can share how to achieve it.
In dashboard.py
I tried :
import sys
sys.path.append('/home/lungsang/Desktop/streamlit-practice/level-packs')
import usage.py
usage.py
is in level-packs
directory.
as of now its not working..