Omaha Python Users Group

Python Users in the Omaha Metro Area

September 21, 2010

September 20th Meeting

Filed under: MeetingNotes — Tags: — Steve @ 10:48 pm

Our regular location was booked for this month’s meeting, so at the last minute we tried to find a web conference solution.  Our first choice did not work well, and we moved over to another service.  I apologize  to anyone who tried to join the meeting and got lost in the shuffle.  Thanks to Jeff and Jay for going thru the pains of figuring out the details and getting mics working well.  We will find a good solution before next month’s meeting.  We are hoping to give more people the opportunity to be involved and also have more guest presenters.

In spite of the difficulty, Jeff persisted with an introduction to testing in Python.  He talked mainly about Python Koans, by Greg Malcom. From the website:

Python Koans is an interactive tutorial for learning Python by making tests pass.

Most tests are ‘fixed’ by filling the missing parts of assert functions. Eg:

self.assertEqual(__, 1+2)

which can be fixed by replacing the __ part with the appropriate code:

self.assertEqual(3, 1+2)

Occasionally you will encounter some failing tests that are already filled out. In these cases you will need to finish implementing some code to progress. For example, there is an exercise for writing some code that will tell you if a triangle is equilateral, isosceles or scalene.

As well as being a great way to learn some Python, it is also a good way to get a taste of Test Driven Development (TDD).

Jeff has been working on a couple of sections a day.  (Joe – I thought that you might like this style of learning – I am going to try it myself.) There are versions for Python 2.6 and 3.1.

September 20, 2010

Next Meeting – September 20 @ 7pm — Online

Filed under: Uncategorized — Jeff @ 7:08 pm

The next meeting will be tonight, September 20th @ 7 pm.  The meeting will be our first attempt at a virtual meeting.  Please join in with us @ DimDim https://my.dimdim.com/pythonomaha

Tonights topic will be Testing in Python and specifically unit testing in Python.  If everything goes well, we’ll all learn new things about both.

Can’t wait to see you there!

Powered by WordPress