Rename the process name

How to rename the process name through the Python API??