Hey, Kevin,
I went looking around for a solution to this and found another one. Since it doesn't depend on __file__, I think it may work when compiled.
""" import os import sys os.chdir(os.path.abspath(os.path.dirname(sys.argv[0]))) """
That works when run as source. I will test it compiled soon.
Hey, Kevin,
I went looking around for a solution to this and found another one. Since it doesn't depend on __file__, I think it may work when compiled.
""" os.path. abspath( os.path. dirname( sys.argv[ 0])))
import os
import sys
os.chdir(
"""
That works when run as source. I will test it compiled soon.