Under a linux structure, i've noticed that the following works:
import sys
sys.path.append("/home/username/fullpathname/")
import my_module
however the following does not
import sys
sys.path.append("~/fullpathname")
import my_module
is there a way to use the "~" operator? I don't understand why python wants the full directory. Thank you!