def add_to_sys_path(pathnames, index=0):
 for pathname in pathnames[::(-1)]:
  sys.path.insert(index, pathname)

def add_to_sys_path ( pathnames , index = 0 ) : for pathname in pathnames [ : : ( - 1 ) ] : sys . path . insert ( index , pathname )
adds specified paths at specified index into the sys .