Till KTH:s startsida Till KTH:s startsida

Visa version

Version skapad av Lars Arvestad 2016-10-27 09:46

Visa nästa >
Jämför nästa >

Computer labs

Computer Labs of appbio15

This course has four labs consisting of sets of assignments and one larger programming project.

Preparations

For the later parts of the course, you may need to issue the commands:

  module use /info/DD2404/appbio15/module
  module add appbio15

before working on your assignments. You can put these commands in a file ~/.bashrc to have them run every you log in to the course computers.

Single or group?

You are welcome to work in pairs. In fact, this is highly recommended, especially for beginners, since you will have someone to discuss problems with and simply have more fun.

Get in line! with QWait

To make it easier for the lab tutors to find the next person in line, we will use the lab queuing system QWait. Check it out at qwait.csc.kth.se where we will have a queue for this course. This is the first year we use this service (the old system, SIMA has been turned off), so there might be some hiccups. 

Editing Python code

Any Real Programmer will use a classic programming text editor such as Emacs! This editor has everything, including a steep learning curve! If you write programs, or know you will spend a lot of time editing code in the future, you might want to consider using Emacs for editing code in this course. Start it by writing:

  emacs &

The ampersand (&) ensures that you can continue to work in the terminal. Some people decide to use a lesser, yet popular, editor like VIM. Apparently, that works too.

Python actually has its own programming editor: start it by running "idle".

There are simplistic text editors without all the hard-to-use bells and whistles of Emacs, and a good alternativ choice is gedit. Write

  gedit &

to get a nice graphical user interface suitable for Python programming!

Many people, in particular with more experience, feel that Eclipse is the only way to go. This integrated development environment, IDE, have many and convenient features.

Mac users seems to like the editors Sublime and TextWrangler. 

The labs

The actual lab assignments are found in the menu in the left margin! But you should read this page before starting on them!