fyrd
fyrd copied to clipboard
Auto import all functions in a file
When being run from a file, need to run sys.path.append(file); from file import *; for function in file (including private) import function
This used to work, but it isn't working with the make_alleles.py script (outside this project) right now. Not sure why.
High priority.
Something like:
syspaths=[_os.path.dirname(_os.path.abspath(__file__))]