Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Get The Current Directory Of A Python Script

Using ` os.getcwd() [TODO: Code shorthand span ] produces the current working directory of a python script in the same way ` pwd [TODO: Code shorthand span ] does on the command line

python
import os

print(os.getcwd())
results full