def GeneratePythonPaths(*p):
 suffixes = imp.get_suffixes()
 return [(os.path.join(*p) + s) for (s, m, t) in suffixes]

def GeneratePythonPaths ( * p ) : suffixes = imp . get_suffixes ( ) return [ ( os . path . join ( * p ) + s ) for ( s , m , t ) in suffixes ]
generate all valid filenames for the given file .