Home
/
Python 3.11
/
OS
/
getpid
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
OS
getpid
Python 3.11
Return the current process id.
Syntax
PYTHON
Copy
os.getpid()
See Also
WebAssembly platforms