The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Get The Current Directory Of A Python Script

TODO: Pull subtitle into page object
Code
import os

print(os.getcwd())
Results
/Users/alan/Grimoire

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Get The Current Directory Of A Python Script

Using `os.getcwd()`python` produces the 
current working directory of a python script
in the same way `pwd`bash` does on the command 
line

-- code
-- python

import os

print(os.getcwd())


-- results

/Users/alan/Grimoire


-- categories
-- Python 

-- metadata
-- date: 2021-05-12 21:55:46
-- id: 01f5hpzq
-- status: published 
-- type: post 
-- site: aws