Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics Meet Python Running Scripts

Do not understand directories

Hi, so the instructor talked about how treehouse in the workspace is the home directory because of the ~ symbol but he never said what exactly they mean. Can somebody explain it to me

1 Answer

Steven Parker
Steven Parker
231,236 Points

Directories are like storage boxes, and can contain any number of files and/or other boxes (directories).

The "home directory" is a separate personal directory assigned to each user on the system, and is your default location when you first connect to the system. In the workspaces, it will typically be pre-loaded with files (and perhaps other directories) needed for the current exercise.