Say there is a folder, '/home/user/temp/a40bd22344'. The name is completely random and changes in every iteration. I need to be able to import this folder in Python using a fixed name, say 'project'. I know I can add this folder to sys.path to enable import lookup, but is there a way to replace 'a40bd22344' with 'project'?
Maybe some clever hacks in init.py?
Added:
It needs to be global - that is, other scripts loading 'project' via the standard:
import project
Have to work properly, loading a40bd22344 instead.