Installing Python 3 and Komodo Edit

Installing Python 3

  • For Mac: Go here to get Python 3.
  • Download Python 3.6.4
  • Double click on the Python.mpkg file (inside of the .dmg file you just downloaded); you'll be greeted with a screen that looks something like this:
  • Follow the installation instructions.
  • You now have Python on your computer! Yay!

Installing Komodo Edit

  • Click here to download Komodo Edit.
  • Make sure that you are downloading the free version, and not the IDE.
  • Follow the installer's instructions!
  • To run Komodo, you can just find it in your applications, by searching on spotlight, etc!
  • NOTE: It can take a while for Komodo to start up for the first time.

Using Terminal (on a Mac)

Type Terminal into spotlight, like this:

Alternatively, you can go to Applications>Utilities>Terminal. To run Python programs, type "python3", or whatever the name of your program is. It'll run as such.

Submitting labs remotely (on a Mac)

  • Open Terminal.
  • To copy files onto the CS server: if your files are in the directory "lab1" on your current computer, you can type: "scp -r lab1" to copy all of the files into your CS150 folder. You can replace lab1 with whatever the name of your path is.
  • Type "ssh". Replace your_username with the username you use to log into CS machines.
  • Type "cd cs150", or whatever the name of your 150 directory is.
  • Assuming lab1 is already in there, type "handin".
  • You should be prompted for a class number, assignment number, and the directory of your submission. Your class number is 150, your assignment number is 1 (not 01, lab01, or lab1), and the directory of your submission is whatever you named it! So, usually just "lab1".
  • You should get confirmation that the lab was successfully handed in. You can also type "lshand" into the terminal to see your submitted assignment.
  • To exit OCCS, type "exit".