From m.hohner at uwinnipeg.ca Tue Aug 14 14:14:37 2007 From: m.hohner at uwinnipeg.ca (Michael Hohner) Date: Tue, 14 Aug 2007 13:14:37 -0500 Subject: [Python Wpg] UWinnipeg PT Systems position Message-ID: <46C1AABD020000FC00002BD3@ds1.uwinnipeg.ca> Come work with Syd and I * #A94.07 * Technology Support 4 (Linux Systems Developer) * Library (Systems Unit) * Closing Date: August 20, 2007 at 12:00 noon * Detais http://www.uwinnipeg.ca/index/hr-ss-a94-07 Cheers, Michael Michael Hohner, Systems & Media Services Coordinator University of Winnipeg Library VOICE: (204) 786-9812 FAX: (204) 783-8910 EMAIL: m.hohner at uwinnipeg.ca WEB: http://library.uwinnipeg.ca/ From high.res.mike at gmail.com Wed Aug 15 05:56:36 2007 From: high.res.mike at gmail.com (Mike Pfaiffer) Date: Wed, 15 Aug 2007 04:56:36 -0500 Subject: [Python Wpg] Meeting this month? Message-ID: <46C2CDD4.5090506@gmail.com> So, is there a meeting this month? I figured I'd ask earlier so we could decide earlier. Later Mike From syd at plug.ca Fri Aug 17 11:59:02 2007 From: syd at plug.ca (Sydney Weidman) Date: Fri, 17 Aug 2007 10:59:02 -0500 Subject: [Python Wpg] Recipe of the day: testing if x is a string (including unicode) Message-ID: <1187366342.3451.14.camel@localhost.localdomain> This is probably something I should have learned long ago, but I was flipping through the first few pages of the Python Cookbook and discovered this: isinstance(x, str) is False for unicode strings. Hmmm... probably should have known that. I could test for both str and unicode: isinstance(x, str) or isinstance(x, unicode) but that seems awfully clumsy and uncharacteristically verbose for Python. Apparently, someone has thought of this :-) The correct test is: isinstance(x, basestring) [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> x = u'\u2020' >>> isinstance(x,str) False >>> isinstance(x,unicode) True >>> isinstance(x,basestring) True >>> >>> isinstance('normal string', basestring) True >>> Thanks to Luther Blissett for recipe 1.3 of the Python Cookbook Hope everyone is having a great summer. P.S. Any topic suggestions for the 4th Wednesday in September (the 26th)? - Syd From stuartw at mts.net Tue Aug 21 23:04:53 2007 From: stuartw at mts.net (Stuart Williams) Date: Tue, 21 Aug 2007 22:04:53 -0500 Subject: [Python Wpg] Regarding ideas for our September meeting. Message-ID: <18123.42965.522950.864609@gavel.swilliams.ca> Regarding ideas for our September meeting, how about metaclasses and/or decorators? You know, a simple approachable topic to start us out. Another possibility would be to collaboratively plan a Python tutorial for the October meeting. I think for that to fly, though, we would need people to actually spread the word for October's meeting. Stuart. From stuartw at mts.net Wed Aug 22 16:24:51 2007 From: stuartw at mts.net (Stuart Williams) Date: Wed, 22 Aug 2007 15:24:51 -0500 Subject: [Python Wpg] August meeting (tonight) Message-ID: I only realized today that we're already at the fourth Wednesday of the month. If anyone is planning on showing up tonight speak up. I'm not. For the new list members, don't lose heart, we do meet quite regularly 9 or 10 months of the year, we just haven't quite figured out yet what to do during the summer months. From sara_arenson at yahoo.ca Wed Aug 22 17:46:10 2007 From: sara_arenson at yahoo.ca (Sara Arenson) Date: Wed, 22 Aug 2007 17:46:10 -0400 (EDT) Subject: [Python Wpg] August meeting (tonight) In-Reply-To: Message-ID: <308414.10927.qm@web90510.mail.mud.yahoo.com> If we meet tonight, what time and place would it be? And is there anything in particular planned? Sara --- Stuart Williams wrote: > I only realized today that we're already at the fourth Wednesday of > the month. If anyone is planning on showing up tonight speak up. I'm > not. > > For the new list members, don't lose heart, we do meet quite regularly > 9 or 10 months of the year, we just haven't quite figured out yet what > to do during the summer months. > _______________________________________________ > Winnipeg mailing list > Winnipeg at python.org > http://mail.python.org/mailman/listinfo/winnipeg > ____________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. From high.res.mike at gmail.com Wed Aug 22 18:18:13 2007 From: high.res.mike at gmail.com (Mike Pfaiffer) Date: Wed, 22 Aug 2007 17:18:13 -0500 Subject: [Python Wpg] August meeting (tonight) In-Reply-To: References: Message-ID: <46CCB625.50605@gmail.com> Stuart Williams wrote: > I only realized today that we're already at the fourth Wednesday of > the month. If anyone is planning on showing up tonight speak up. I'm > not. Snuck up on us. I was thinking it was next week. I guess I won't bother tonight. Other things are sneaking up on me this week. > For the new list members, don't lose heart, we do meet quite regularly > 9 or 10 months of the year, we just haven't quite figured out yet what > to do during the summer months. Most other UGs don't bother meeting during the summer. Any meetings are usually at coffee shops and mostly social. Speaking of which... MWCS has their meetings on the first Tuesday of the month. Maybe someone would be interested in giving an intro to Python for half a dozen people some time during the year... The MUUG is on the second Tuesday and has had a presentation given to them about a year and a half ago. Maybe Syd can give us some details about the PLUG... Later Mike