Python Function Reference

os.getcwd
Return a string representing the current working directory.
Python 3.13
os.getcwd()
Examples
Python 3.13
>>> import os
>>> os.getcwd()
'/home/user'