March 2003
Intermediate to advanced
656 pages
39h 30m
English
commonprefix
commonprefix(list)Accepts a list of strings and returns the longest string that is a
prefix of all items in the list. Unlike other functions in
os.path, commonprefix works on
arbitrary strings, not just on paths.