I am trying to import a module from within a compiled script, and can't get it done. Here is the situation.
I have a folder 'e:\Python import 'which contains a subfolder 'myscript' and a script 'dummy.py'. The subfolder 'myscript' contains another script 'import_lib.py'.

The code in 'import_lib.py' is:
import sys
sys.path.append(r'e:/Python import/')
import dummy
I want to compile 'import_lib.py' and run it from a different computer, which does not have 'dummy.py', or even the folders shown above. How this can be done with pyinstaller?