I tried downloading the programming project zip files from moodle without actually extracting them. This caused an error in python and it would not let me save my code. The solution to this is to be sure to actually extract the files before beginning coding.
As Dr. Stonedahl mentioned in the help_wanted discord channel, "Zip files look like folders but they are not. Instead a zip file is a single file that contains the data of other files in a compressed format, and if you want to do more than just view the files inside of it, you really need to extract those files, so that they become real files inside of a real folder!"