All programming assignments in this class require Python 3.10 or Python 3.11. There are two options for programming homeworks: you could install Python 3.11 and work on the assignments locally, or you could work on the Andrew machines.
If you decide to install Python 3.11 locally, you might want to use Anaconda, (instructions below) But you can also just download Python 3.11 from here.
The programming assignments for this course assume you use Python
3.11. You may need to call python311
or
python3.11
or python3
if python
--version
shows Python version different than 3.10 or 3.11.
Python 3.10 is already installed on the Andrew Linux machines, and you
should be able to call it with python3.10
. You are also
free to use your own machine; we'll try to help you we can, but we
cannot officially support all personal environments. Whether you work
on an instructional machine or your own, the project submission for
grading will always be through Gradescope.
If you would like to use the Andrew machines for the programming
assignments, you're in luck! It is already installed. You can run
python3
for a 3.10 environment.
_tkinter.TclError: no display name and
no $DISPLAY environment variable
.Here are a few IDE's we recommend using with Python in this class, along with links to installation instructions:
Vim is also a popular option to edit code and work on programming assignments in this class (see previous section).
There are many different ways to test and debug your programming
homeworks locally. Here are a few recommended options:
All written homeworks have the option of either using Latex to compile and complete homeworks, or using an iPad to fill in a blank PDF of the homework. One popular software for students to use Latex is Overleaf.
yoursolution.tex
file. Do not modify any
other files in the handout.\includegraphics
command, which will also allow you to
adjust the scaling of the image. This page contains more specific
information on inserting images into Overleaf: here
yoursolution.tex
file,
you can download the PDF from Overleaf and submit that PDF to
Gradescope. As long as you have not modified any other files, the
pages on your PDF should match the Gradescope alignment, but please
double check that your pages align with the Gradescope outline, as we
will not grade questions that are misaligned. To check if your pages
are aligned, you can look at the outline for the assignment on
Gradescope or check that each question actually matches up with the
correct box in your submission.