how to determine if files are on same or different file systems

Serge Orlov sombDELETE at pobox.ru
Sat Dec 6 23:45:55 CET 2003


> It would be nice if I could write a function that would determine if the
> source and destination are on the same file system or not, and thus use
> rename or copy appropriately, or if there is already such a built-in
> function.

shutil.move ? (Introduced in Python 2.3)






More information about the Python-list mailing list