Python Language Get current directory


Example

Use the os.getcwd() function:

print(os.getcwd())