This week we talked mostly about how we can work with cvs on eclipse. We also talked about how to import an external jar file to eclipse. I have a different version of Eclipse on my machine, so things did not go as smooth as I expected. However, I think by the end of the tutorial, both you and I have learnt quite a bit about Eclipse. I also found out that there are couple of students who know a lot about eclipse. Maybe they can share some tips with the rest of the class? Anyhow, I don't think we will spend more time on eclipse from now on. If you still have questions, please ask me individually. Again, eclipse is not required for this course. So if you hate it, then dont use it. One last note about eclipse -- commit files back to the repository from eclipse. First left click to highlight the project. Then right click and select "team". The commit option is right there. I also promised to show you how to update your eclipse to get it to work with python. Click on help->software update->find and install. Then select search for a new feature to install. Add a new remote site with the name python, site http://pydev.sf.net/update. After the downloads, you will be able to compile python program. We should have continue with python today. But I think eclipse/cvs is more important for you at this moment, since some of you need it for E2. This is why we went over eclipse today. However, I have the following two python programs for you guys to practice. Don't forget to ask me for solution next time. Please think about the following excercies. We will go over them if we have time in the next tutorial. 1. Write a program that reads numbers from the user until the user enters something that isn't a number. Then print the average. 2. Write a function which takes a string s, an int n and a separator d. If n is 0, return an empty string. For positive n return n string which is copies of s concatenated with n-1 copies of d (one between every pair of s). For negative n, return -n copies of the reverse of s, concatenated with n-1 copies of d (not reversed). examples: buildString("word",4,"---") -> "word---word---word---word" buildString("blah",3,"->") -> "blah->blah->blah" buildString("blah",0,"->") -> "" buildString("pan",2,"time") -> "naptimenap" buildString("pizza",1," ") -> "pizza" 2B: Change it to take a list l and a separator s and concatenate items on the list separated by s.