Electronic Submission System
Creating ZIP Files
On Windows
If you're using Windows XP, it already has the ability to create .zip files.
To create a .zip file, first select all of the files you want to add. Then,
right-click the files, select "Send To" and "Compressed (zipped) Folder".
This will create a .zip file in the same directory, ready to be submitted.
The name of the .zip file doesn't affect submission or marking.
Be careful when naming your files on Windows: since Windows hides the
file-extensions by default, if you name your main Python source file so that
Windows displays it as main.py, then the true name may be
main.py.py, in which case the code will fail in the marking
system!.
On Linux
In Linux there are no problems with filename extensions: they are always
displayed. There are graphical programs to make .zip files, but their names may
vary according to which sort of Linux machine you are using. A way that should
work on all Linux machines is to call the zip command direct from the
command line:
- Open a command terminal by clicking this icon:

- Go to the directory containing your source files using the cd command, e.g.
cd work/compphys/exercise2/ (substitute whatever directory structure you have used).
- Create a .zip file using th e zip command. For example, to make a zipfile called
"myexample2.zip" containing files "main.py" and "foo.py" you should use this command:
zip myexample2.zip main.py foo.py
Again, this will create a .zip file in the same directory, ready to be
submitted. The name of the .zip file doesn't affect submission or marking.