import from a file in a subdirectory

rdack rdacker at pacbell.net
Tue Apr 30 15:27:03 EDT 2002


i have a script running in a directory.
i want to call a subroutine in a file in a subdirectory.

in the first file i said  from subdir/ff.py import  subrtn
python doesn't like the slash.

how do i do it?



More information about the Python-list mailing list