def starttime(pid):
 return (psutil.Process(pid).create_time() - psutil.boot_time())

def starttime ( pid ) : return ( psutil . Process ( pid ) . create_time ( ) - psutil . boot_time ( ) )
starttime -> float arguments: pid : pid of the process .