Locating Your Working Directory
We’re not physically inside a folder or anything, but the path which is set as the current working directory is the
RealPython\ is the directory, and I’m in that directory right now. Okay, and is there a command to quickly see where we are? Right.
Usually on Windows, you don’t need to because the prompt by default will show you where the path is. But there is a
pwd (print working directory) command, which will show you the current path that you’re at.
00:43 It’s just a way to locate yourself and different paths for files, because you’re usually working with files, right? And if you want to operate on a certain file, you need to know where that is relative to where you are.
Become a Member to join the conversation.