How to Set Up Folders on Your Raspberry Pi - dummies

How to Set Up Folders on Your Raspberry Pi

By Sean McManus, Mike Cook

Pygame Zero lays down strict rules about what your files can be called and where they should be saved on your Raspberry Pi. Filenames must be in all lowercase, which helps to ensure that they work across different computers. Your images must be stored in a folder called images, and your sounds in a folder called sounds.

Let’s set up those folders now. Follow these steps:

  1. In the desktop environment, click the taskbar’s File Manager icon.
  2. In the pi folder, right-click, and then choose Create New →   Folder from the contextual menu that appears.
  3. Name your folder images.
  4. Repeat Step 2, but this time name your new folder sounds.
  5. Copy your image files into the images folder, and your sounds into the sounds folder.

Remember that when you download files with your web browser, they will be saved in your Downloads folder, which is also in your pi folder. You may need to extract them from a .zip file, by double-clicking the .zip file and then clicking the Extract Files button when Xarchiver opens. After extracting the files, you can copy them to the images and sounds folders.