Python - Rename a file

To rename a file using python:

>>> import os
>>> os.rename(oldfilepath, newfilepath)

It's just useful!

Comments