Python Get Working Directory

Last modified: 
Tuesday, March 31st, 2015

How to get the current working directory in Python.

import os
print os.getcwd()


The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.