Index Ai Academy
Glossary · Phase 0 · Tools

Working folder

Also written: working directory, current directory

The folder a program is running in. Every relative path starts from it.

A relative path starts from wherever the program is now. That place is called the working folder. data/sales.csv means "from the working folder, go into data, and find sales.csv". It's short, and it keeps working when the whole project moves to another computer. Its weakness is that it means something different from every starting point. If the working folder is projects/shop, it finds the file. If the working folder is projects, the same words lead nowhere.

Try it now

Learn it properly

Files, folders and paths · What a file's name tells you, paths as directions through folders, and where a relative path starts. About 30 minutes.

Other terms from the same lesson

  • absolute path: Directions to a file that start from the top of the disk, such as /Users/ana/notes.txt. It leads to the same file from anywhere.
  • file extension: The part of a file's name after its last dot, such as csv in sales.csv. It labels the kind of data inside; renaming it doesn't change the data.
  • relative path: Directions to a file that start from the folder a program is running in, such as data/sales.csv. Start somewhere else and it leads somewhere else.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 0 · lesson 30 min

Files, folders and paths

What a file's name tells you, paths as directions through folders, and where a relative path starts.

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write