Mikhail> Is there some Python module for converting Windows long paths Mikhail> to short form, i.e. 8.3? os.path.normpath() does not do this.. Try importing dospath directly: >>> import dospath >>> dospath.normpath("/supercalifragilisticexpealidocious.py") '\\supercal.py' -- Skip Montanaro (skip at pobox.com) (847)971-7098