You'll be taught some more Unix commands as the semester progresses, but these are some basics to get started with:
gedit filename.py
python3
python3 filename.py
ls
cp oldfilename newfilenameWarning: Unix assumes that you know what you're doing, and will happily overwrite files without warning if you tell it to!
mv oldfilename newfilenameWarning: Unix assumes that you know what you're doing, and will happily overwrite files without warning if you tell it to!
mv oldfilename newfilenameWarning: Unix assumes that you know what you're doing, and will happily overwrite files without warning if you tell it to!
rm filenameWarning: Unix assumes that you know what you're doing, and will happily delete files without warning if you tell it to! There is no ``undo'' available!
mkdir directoryname
cd directoryname
cd
fortune
If you want to avoid coming into the lab, you can always connect to the Computer Science computers from home or your laptop. Here's how:
Macs already have Python installed (as does pretty well any modern Linux or BSD system for that matter), however it is usually not Python 3, but an earlier version. Python 3 (which we're using in class) has significant differences from earlier Python versions. You can download Python 3 from the Python web site.
Sorry, but your TAs and I can't provide any technical support for using Python on your own computer; there's simply not the time for it.
Important note: to keep things fair, everyone's assignment demos must run on the Computer Science computers! If you work on different computers, it is your responsibility to make sure your assignment works in your Computer Science account.