i've python in a usb stick and i'm designing a recursive descent parser.
the main script is recursive.py which is run by following code from command prompt.
python.exe compiler\recursive.py<compiler\rd_input
my directory structure is
python.exe
compiler\
    recursive.py
    rd_input
in my code i'm generating a python script with 3 functions.
compiler\   
    recursive_header.py
which i need to import in the main script recursive.py later.
i've tried import recursive_header and import compiler\recursive_header and import compiler/recursive_header
it's showing the error
Traceback (most recent call last):
  File "compiler\recursive.py", line 74, in <module>
    import recursive_header
ImportError: No module named recursive_header
i've tried the solution given here. but same error.
also tried
import sys
sys.path.append('/compiler')
import recursive_header
here error numbers increased mentioning some about sys.
how can i import compiler\recursive_header.py in my script.
 
     
    