python-discord / meta

Issue tracker for suggestions and other questions relating to our community
https://pythondiscord.com
31 stars 5 forks source link

Add a tag for explaining the concept of the current working directory #142

Closed Zeturic closed 1 year ago

Zeturic commented 2 years ago

Tag Name

cwd

What kind of content should the tag include?

I don't have a specific resource it should link to, but a basic explanation of the concept would be very helpful. It should make specific note of cases where the cwd and the directory the Python file is in aren't the same.

I've seen several people ask questions that ultimately come down to this sort of misunderstanding. They want to open a file from a particular directory (often their Desktop), so they put their Python file in the directory alongside that file, but then run it via the terminal with a different working directory (often their home directory).