Hi all,
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 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'?
May be some clever hacks in init.py?
Added:
It needs to be global - i.e. other scripts loading 'project' via standard
import project
Have to work properly, loading a40bd22344 instead.
Thanks!