Pythalex
11/24/2018 - 4:37 PM

Python - Print cwd

How to get the current working directory

import os
cwd = os.path.dirname(os.path.realpath(__file__))
print(cwd)