From timothy.selivanow at virtualxistenz.com Wed Jul 2 23:04:19 2008 From: timothy.selivanow at virtualxistenz.com (Timothy Selivanow) Date: Wed, 02 Jul 2008 14:04:19 -0700 Subject: [portland] Any suggestions for a RPC protocol for Python, et al. Message-ID: <1215032659.3970.43.camel@denkiteki-penpen.easystreet.com> I've been wracking my brain (and Google's) on a RPC protocol that is usable in at least Python, Java, and C++ that also should include things like payload signing (maybe encryption too), and a strong and flexible user authentication mechanism. This protocol would be used not only for inter-machine communication, but intra-machine also (between various processes that may be written in different languages, so something like POJOs are probably out). My first reaction is to use SOAP, but it seems like SOAP libraries aren't as mature in Python as they are in C++ and Java. ZSI and Twisted seem like they are the two front runners for SOAP in Python, but I haven't found anything that easily satisfies the above. For instance, I could use SOAP over HTTPS and provide message integrity easily, but nothing supports it out-of-the-box. It seems like that is the same way for authentication too, I could use HTTP based authentication but I haven't found anything that support that too out-of-the-box. As far as authentication goes, I've looked at using X.509 (HTTPS client auth), Kerberos, LDAP (not preferable to me, but someone else may like it). Any strong, central authentication mechanism, that would also enable me to perform a crypto function (sign a payload, at least) using the same token (or a resource derived from) as authentication is what I'm looking at. WS-Security sounds like it would be useful, but nothing Python-side supports that it seems (not too sure if I could extract the payload *and* it's signature though, I've never used it). I'm not tied to using SOAP, I've also looked into XML-RPC, CORBA, and JSON-RPC, I prefer to not have to write a ton of code for Python implementations that are missing a bunch of the "standard" pieces (e.g. WS-Security, SOAP over HTTPS, plug-able authentication). So, any suggestions? I'm loath to re-write the wheel, but I really like Python and want to use it :) --Tim From Robert.Lugg at synopsys.com Wed Jul 2 23:52:56 2008 From: Robert.Lugg at synopsys.com (Robert Lugg) Date: Wed, 2 Jul 2008 14:52:56 -0700 Subject: [portland] Any suggestions for a RPC protocol for Python, et al. In-Reply-To: <1215032659.3970.43.camel@denkiteki-penpen.easystreet.com> References: <1215032659.3970.43.camel@denkiteki-penpen.easystreet.com> Message-ID: <81EC0BF5B088B046A96CC9D3A6D3DCE0055FCB86@US01WEMBX2.internal.synopsys.com> It's a funny coincidence, I am looking at the same thing. If you choose to go with SOAP you may consider suds (https://fedorahosted.org/suds/). They are still making development releases, but I was able to *almost* get it working. Authentication in my case was done by pasting some Google-found urllib2 authentication code. They have a very nice model, but I can't compare them to other libraries since it's the only one I've used. Robert From jek at discorporate.us Mon Jul 7 22:45:03 2008 From: jek at discorporate.us (jason kirtland) Date: Mon, 07 Jul 2008 13:45:03 -0700 Subject: [portland] Meeting Tomorrow: Web & Network part 2-A Message-ID: <4872804F.4010109@discorporate.us> Hi everyone, It's that time again. Our next meeting is tomorrow, Tuesday July 8th, 7PM at CubeSpace. We'll be revisiting 2 topics from last month's web & networking meeting in more depth: Twisted [1], and WSGI (via the Werkzeug [2] toolkit). We'll also have open discussion about web, network or other Pythonic topics, as well as the upcoming OSCON convention & the Summer Coders Social. There's been some talk on #pdxpython about organizing a regional Python conference here in the Northwest, and that'll likely be another conversation topic. After we'll migrate over to the Produce Row Cafe for more discussion and beer. Map to CubeSpace, rsvp, etc. at: http://python.meetup.com/183/calendar/8120645/ Hope to see you all there! Cheers, Jason [1] http://twistedmatrix.com/trac/ [2] http://werkzeug.pocoo.org/ From altis at semi-retired.com Tue Jul 8 17:24:36 2008 From: altis at semi-retired.com (Kevin Altis) Date: Tue, 8 Jul 2008 08:24:36 -0700 Subject: [portland] OSCON user group pass Message-ID: <5C1DA78A-D6F9-4766-92F5-979E51531720@semi-retired.com> Hi, like last year I'll have a free pass to OSCON for use by one Portland Python User Group member at a time. The pass should cover tutorials. I signed up for various Python tutorials on Monday and Tuesday, but it can probably be used for any tutorial that isn't full as well as the Open Mobile Exchange. Since this is a physical pass, only one person can use it at any given time, so those that are interested will need to work out who is using it and when and then coordinate handing it off as needed. I'll arrange for Jason to get it Sunday before the show or Monday morning at the latest. http://en.oreilly.com/oscon2008/public/content/home ka From jek at discorporate.us Tue Jul 8 23:58:05 2008 From: jek at discorporate.us (jason kirtland) Date: Tue, 08 Jul 2008 14:58:05 -0700 Subject: [portland] Reminder: Meeting Tonight! Plus: More Django! In-Reply-To: <4872804F.4010109@discorporate.us> References: <4872804F.4010109@discorporate.us> Message-ID: <4873E2ED.5040100@discorporate.us> A late addition to tonight's line-up: Rami will be doing a quick and dirty code-wise intro to Django. And we have a couple more new O'Reilly books for enjoyment & review: the new edition of High Performance MySQL, the Ultimate HTML Reference (from Sitepoint, similar to the CSS book from last meeting), and Ununtu for Non-Geeks. There'll also be a Python reference book or two up for grabs. See you tonight! -Jason jason kirtland wrote: > Hi everyone, > > It's that time again. Our next meeting is tomorrow, Tuesday July 8th, > 7PM at CubeSpace. We'll be revisiting 2 topics from last month's web & > networking meeting in more depth: Twisted [1], and WSGI (via the > Werkzeug [2] toolkit). > > We'll also have open discussion about web, network or other Pythonic > topics, as well as the upcoming OSCON convention & the Summer Coders > Social. There's been some talk on #pdxpython about organizing a > regional Python conference here in the Northwest, and that'll likely be > another conversation topic. > > After we'll migrate over to the Produce Row Cafe for more discussion and > beer. > > Map to CubeSpace, rsvp, etc. at: > http://python.meetup.com/183/calendar/8120645/ > > Hope to see you all there! > > Cheers, > Jason > > [1] http://twistedmatrix.com/trac/ > [2] http://werkzeug.pocoo.org/ > _______________________________________________ > Portland mailing list > Portland at python.org > http://mail.python.org/mailman/listinfo/portland > From jek at discorporate.us Wed Jul 9 21:20:19 2008 From: jek at discorporate.us (jason kirtland) Date: Wed, 09 Jul 2008 12:20:19 -0700 Subject: [portland] July Meeting recap Message-ID: <48750F73.2020603@discorporate.us> Another great meeting last night! Rami and Roman showed us building a web application using the Django framework starting from just a command prompt. In 45 minutes we had a good start on a database-backed, templated address book application. Michel followed with part 2 of his Twisted presentation from last month. A great discussion about avoiding the overhead of threads for quick tasks, and a walk-through of Twisted code implementing a web-click tracking service. Michel then followed *that* with a discussion about his team's adventures trying to find the Python web development environment that best fit their needs. Michel showed us code using Werkzeug, and compared and contrasted their current approach vs. their experience building out with Pylons. Thanks everyone for coming out! The agenda for next month is still open but I think we'll have lots to talk about: TONS of events going on between now and our next meeting. Here's some links from the meeting and events coming up in the next few weeks: - http://www.djangoproject.com/ - http://twistedmatrix.com/ - http://werkzeug.pocoo.org/ New! Follow PDX Python on Twitter: http://twitter.com/pdxpython * PDXPUG Day July 20 @ the Oregon Convention Center http://pugs.postgresql.org/pdxpugday * OSCON July 21-25 @ the Oregon Convention Center http://en.oreilly.com/oscon2008/ * FOSSCoach July 23-25 @ the Oregon Convention Center http://fosscoach.wikia.com/wiki/FOSSCoach My understanding is that sessions are still coming together for FOSSCoach, so keep checking back on this one. * XMPP Summit 5 July 21-22 @ the Oregon Convention Center http://www.xmpp.org/summit/summit5.shtml * Summer Coders Social - BBQ @ Laurelhurst Park August 3rd http://pdxgroups.pbwiki.com/Coders-Summer-Social The summer edition of the very successful Winter Coders Social that was held at CubeSpace. Ping me if your company might be interested in being a sponsor. Cheers, Jason From Ron at FascinatingElectronics.com Wed Jul 16 08:15:18 2008 From: Ron at FascinatingElectronics.com (Ron Jackson) Date: Tue, 15 Jul 2008 23:15:18 -0700 Subject: [portland] Detecting System Standby on Windows Message-ID: Judging by the number of Mac and Linux laptops at the meetings, I would guess that most people are not working on Windows. Anyway, I'm building a specialized Python USB library for communication class devices (which show up as com ports). I've run into problems when Windows goes into Standby. During the 5 seconds or so that the Python continues to run as Windows is shutting down things, my library is continuing to pound on the serial port as it is asynchronously shutting down. This has a tendency to cause the win32file.ReadFile function on the port to lock up and requires a physical disconnect to clear. Is there some way to detect that Windows has started to go into standby before Python is halted? If I had a status function I could call to make sure no standby was immanent that would likely solve my problem. Thanks for the help! -- Ron From markgross at thegnar.org Wed Jul 16 14:54:56 2008 From: markgross at thegnar.org (mark gross) Date: Wed, 16 Jul 2008 05:54:56 -0700 Subject: [portland] Detecting System Standby on Windows In-Reply-To: References: Message-ID: <20080716125456.GA28224@thegnar.org> On Tue, Jul 15, 2008 at 11:15:18PM -0700, Ron Jackson wrote: > Judging by the number of Mac and Linux laptops at the meetings, I > would guess that most people are not working on Windows. > > Anyway, I'm building a specialized Python USB library for > communication class devices (which show up as com ports). > > I've run into problems when Windows goes into Standby. During the 5 > seconds or so that the Python continues to run as Windows is shutting > down things, my library is continuing to pound on the serial port as > it is asynchronously shutting down. This has a tendency to cause the > win32file.ReadFile function on the port to lock up and requires a > physical disconnect to clear. > > Is there some way to detect that Windows has started to go into > standby before Python is halted? If I had a status function I could > call to make sure no standby was immanent that would likely solve my > problem. Its been 8 years since I've done any windows work, but yes there is a way. Every application gets a sent a windows message when the system is going into a lower power state. (I don't remember what that message is called) To get this message you'll need a "message loop" running in a thread or something. Where it will just wake up when the OS sends a message. You can test in that loop for the WM_SUSPEND or something like that. --mgross > > Thanks for the help! > > -- Ron > _______________________________________________ > Portland mailing list > Portland at python.org > http://mail.python.org/mailman/listinfo/portland -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From jek at discorporate.us Wed Jul 16 21:15:57 2008 From: jek at discorporate.us (jason kirtland) Date: Wed, 16 Jul 2008 12:15:57 -0700 Subject: [portland] Save the date: Summer Coders Social, Sunday August 3rd Message-ID: <487E48ED.2070402@discorporate.us> Last December, many of the local software developer user groups banded together and had a big party. It was known as the Winter Coders Social and it was a blast. The Summer Coder's Social is the outdoor and (hopefully) sunny successor! This will be a very casual, pan-geek event with outdoor activities, games, fun and BBQ, so be sure to bring the whole family. Sponsors are providing BBQ basics- burgers & hots, meaty & not; community potluck will provide the rest. This is a BYOB event. There's tons of room and all user groups are invited. Feel free to spread the word and forward this along to any appropriate mailing lists. When: Sunday, August 3rd. 11am to 5pm Where: Laurelhurst Park (Picnic Area E) http://tinyurl.com/5632fj More info & sign-up for bringing a potluck dish: http://pdxgroups.pbwiki.com/Coders-Summer-Social Upcoming RSVP: http://upcoming.yahoo.com/event/869350/ See you there! -Jason From jek at discorporate.us Wed Jul 16 21:40:45 2008 From: jek at discorporate.us (jason kirtland) Date: Wed, 16 Jul 2008 12:40:45 -0700 Subject: [portland] OSCON & Pythonic activities Message-ID: <487E4EBD.7040003@discorporate.us> The latest news on OSCON events: - Group pass! The group has an admit-one pass to the tutorials and sessions- we'll pass it back and forth. It looks like I'll be there on site all week, so I can serve for both pre-event coordination & badge nanny on the ground. Also, the free expo hall pass gets you in to all the events, BOFs, etc. Register on the OSCON web site or in person at the convention. - Django Drinkup Tuesday, July 22, 7pm, Jax Bar "Come meet other Djangonauts from OSCON and the area at the Jax Bar rooftop patio." http://tinyurl.com/5p9yax - FOSCON Wednesday, July 23rd 6pm-9, CubeSpace The Ruby gathering/mini-conf. I went to last year's, it was very fun & interesting. New twist this year: A live, multi-language web framework competition. Grab a friend and represent Python! http://pdxfoscon.org/ and http://pdxfoscon.org/competition - Beerforge Thursday, July 24, 8pm-11, Bossanova An OSCON classic. http://upcoming.yahoo.com/event/782117/ --- I'm not aware of any Pythonic OSCON BOFs at the moment. The call for BOF entries is open until 7/18, so there's still a little time to get something in! Lemme know if I've missed anything and I'll pass it on. Such as this word from one of our lovely group sponsors, O'Reilly: > Got any old O'Reilly shirts at home? If so, bring them to OSCON! Be one > of the first 50 people to come by the O'Reilly booth (#313) wearing one of > our t-shirts to win cool prizes and be included in our t-shirt photo > collage. The grand prize goes to the person who has more O'Reilly shirts > than everyone else, so bring 'em all! > > Follow the O'Reilly booth on Twitter during the conference: > http://twitter.com/oreillyatoscon for your chance to win prizes during > the show. > > You can also follow http://twitter.com/oscon for ongoing conference > updates throughout the show. Cheers, Jason From kirby.urner at gmail.com Thu Jul 17 09:03:14 2008 From: kirby.urner at gmail.com (kirby urner) Date: Thu, 17 Jul 2008 00:03:14 -0700 Subject: [portland] Python shell designs Message-ID: I've been thinking about what it'd take to integrate more graphical content directly into the shell. This has long been a feature of Mathematica per http://library.wolfram.com/howtos/images/ and is more recently becoming a feature in Haskell http://www.cs.kent.ac.uk/projects/pivotal/ I'm thinking that without changing the language, the __repr__ of some Graphic type (a mixin?) gives us something more like scalable graphics (like a font is scalable). You'd need a special shell, like IDLE but different (or a "next" IDLE?) that'd happly embed graphical stuff right amidst the lexical (what's the diff anyway?). Like you could go: >>> mylist = Apple() >>> mylist [ << picture of apple >> ] where there's an actual full color picture of an apple maybe, or just an icon -- depends on the "font". But you can also do transforms on these graphics, like in PIL, so more like a font that gives you ways to mess with the parametrics... Anyway, just thinking out loud, wondering if there're some Python projects already out there along these lines some PPMUGer might be at liberty to tell me about... Kirby From kirby.urner at gmail.com Thu Jul 17 09:13:57 2008 From: kirby.urner at gmail.com (kirby urner) Date: Thu, 17 Jul 2008 00:13:57 -0700 Subject: [portland] Python shell designs In-Reply-To: References: Message-ID: On Thu, Jul 17, 2008 at 12:03 AM, kirby urner wrote: << SNIP >> > where there's an actual full color picture of an apple maybe, or just > an icon -- depends on the "font". But you can also do transforms on > these graphics, like in PIL, so more like a font that gives you ways > to mess with the parametrics... Anyway, just thinking out loud, > wondering if there're some Python projects already out there along > these lines some PPMUGer might be at liberty to tell me about... > > Kirby > Apologies for the extraneous M, like a pug with a mug: http://worldgame.blogspot.com/2008/07/dog-tubes.html (scroll down for Rover -- click to enlarge). OK, that's not a pug, it's a bull dog. Still quite a mug though. And while on the topic of fonts, just wanted to say I've been exploring those more, attendent to testing Python 3.x's ability to deliver non Latin-1 unicode strings as top-level names e.g. class and/or function names as Chinese characters: http://mybizmo.blogspot.com/2008/05/chinese-names-in-python.html Later I came across Akbar font, modeled on Matt Groening's handwriting, and find it strangely pleasing as a coding font, as it's informal yet readable, trying to get into the theory a little on edu-sig: http://mail.python.org/pipermail/edu-sig/2008-July/008655.html Kirby From mackstann at gmail.com Thu Jul 17 09:39:33 2008 From: mackstann at gmail.com (Nick Welch) Date: Thu, 17 Jul 2008 00:39:33 -0700 Subject: [portland] Python shell designs In-Reply-To: References: Message-ID: <9e00fd550807170039h2c6d1f0fw8d5c67e312a42e60@mail.gmail.com> On Thu, Jul 17, 2008 at 12:03 AM, kirby urner wrote: > I've been thinking about what it'd take to integrate more graphical > content directly into the shell. This has long been a feature of > Mathematica per http://library.wolfram.com/howtos/images/ and is more > recently becoming a feature in Haskell > http://www.cs.kent.ac.uk/projects/pivotal/ > > I'm thinking that without changing the language, the __repr__ of some > Graphic type (a mixin?) gives us something more like scalable graphics > (like a font is scalable). There was a unix terminal and/or shell program I saw a while back that would show images right there in the terminal, say, when you did an "ls", but I can't seem to find it now. To be scalable, perhaps SVG would be the way to go? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Thu Jul 17 18:29:18 2008 From: kirby.urner at gmail.com (kirby urner) Date: Thu, 17 Jul 2008 09:29:18 -0700 Subject: [portland] Python shell designs In-Reply-To: <9e00fd550807170039h2c6d1f0fw8d5c67e312a42e60@mail.gmail.com> References: <9e00fd550807170039h2c6d1f0fw8d5c67e312a42e60@mail.gmail.com> Message-ID: On Thu, Jul 17, 2008 at 12:39 AM, Nick Welch wrote: << SNIP >> > There was a unix terminal and/or shell program I saw a while back that would > show images right there in the terminal, say, when you did an "ls", but I > can't seem to find it now. > Yeah, that kinda prefigures everything GUI, mixing graphemes and lexemes willy nilly, everything icon, plus thumbnail views. I remember when Miguel de Icaza showcased a rotating cube of desktops, getting a movie to play in a window that wrapped around the edge. Wow went the audience, eye candy to die for. Then the dream came true and my Ubuntu does exactly that, yet everyone seems so ho hum about it, while I'm still blown away. I feel kinda retarded, sitting there in the bus station or whatever, rotating my cube of desktops, pushing my shopping cart... (he's so easily amused, I can hear them whispering...). Probably working with the Chinese unicode set, including for I Ching hexa and trigrams has gotten me in the mood to use dot notation against icons, like <>.yak( 10 ) to get some funny face going on my screen, the implication being this is Python and <> is somehow the __repr__ of an object, or maybe not -- could be __repr__ stays lexical, but we still have our methods... Watching Jim Hugunin fire up those wizards and/or frogs or whatever, the MicrosoftOffice "helpers" (paperclip), from within Python .NET (IronPython) also influential. More amusements for the bus station... The important point being (I think) is that we don't have to touch Python the language, just make new games around it with the shell. Jason showed us at a recent PPUG meeting how easy to make steps in this direction with the batteries included (he had a nifty "show tool" to demo, sliderepl **). Mathematica and Haskell know about doing PIL type stuff right on the shell canvas, wouldn't be too tough a trick for our snake, given we're already doing Chinese etc. The "blob : picture : font-glyph" association may be getting in my way (I think it's helping), plus I shouldn't forget about audio i.e. some methods fire a sound. Back to MVC, I understand designs that'd fire a picture or sound "in a viewer" or "in a player" i.e. we'd fire up a GUI widget for context and *not* try to embed everything in the interactive shell. But this detracts from my vision of being able to go like << apple >>.compare( << orange >>) or something, with little iconographic apples and oranges embedded right in the syntax. I'm thinking this could be one of those eToyz or some such i.e. some fancy wx Widget with a canned set of ding bats, programmed in Python. Maybe you only get a few of these funny objects responsive to dot notation, per Max Headroom example. It's enough to get you thinking. Could be it's something teachers use to assist newbies in getting "dot notation" in the first place. <>.meow ( 4 ) would trigger a sound. Fun sandbox. Suggests applications. Oh well, gotta get back to it, packing for a car trip, just back from Freddies with new ethernet cable... Kirby ** http://controlroom.blogspot.com/2008/04/ppug-200848.html > To be scalable, perhaps SVG would be the way to go? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > _______________________________________________ > Portland mailing list > Portland at python.org > http://mail.python.org/mailman/listinfo/portland > From jek at discorporate.us Thu Jul 17 18:56:26 2008 From: jek at discorporate.us (jason kirtland) Date: Thu, 17 Jul 2008 09:56:26 -0700 Subject: [portland] More info on FOSSCoach (7/23-7/25) Message-ID: <487F79BA.1080200@discorporate.us> Zak from Mozilla sent in more info on FOSSCoach, the new OSCON event that's replacing OSCamp this year: --- I'm helping run a free local event called FOSSCoach that is focused on helping people learn, share and improve the essential skills required to participate in and develop collaborative, free and open online projects like Python and Firefox. The event features a mix of standard presentations and hands-on coaching. I'm betting that the event will be interesting for at least some of the local pythonistas - especially since we have David Ascher (co-author of Learning Python and Python Software Foundation Director) as one of our attending coaches. You can get a good overview of the event including information on who else is participating, what sessions are lined up and more at: http://fosscoach.wikia.com/wiki/FOSSCoach_at_OSCON_2008 Attendance is free, though people do need to register: http://fosscoach.wikia.com/wiki/OSCON08:How_To_Register FOSSCoach will be held July 23rd (Wed) through July 25th (Friday). Cheers! --zak From python at dylanreinhardt.com Thu Jul 17 19:34:32 2008 From: python at dylanreinhardt.com (Dylan Reinhardt) Date: Thu, 17 Jul 2008 10:34:32 -0700 Subject: [portland] Python shell designs In-Reply-To: References: <9e00fd550807170039h2c6d1f0fw8d5c67e312a42e60@mail.gmail.com> Message-ID: <4c645a720807171034n42267247hd1a351d69a2c3ff5@mail.gmail.com> On Thu, Jul 17, 2008 at 9:29 AM, kirby urner wrote: [SNIP] > Maybe you only get a few of these funny objects responsive to dot > notation, per Max Headroom example. It's enough to get you thinking. > Could be it's something teachers use to assist newbies in getting > "dot notation" in the first place. <>.meow ( 4 ) > would trigger a sound. Fun sandbox. Suggests applications. It's not a shell, but I think you might be describing something like the Alice project: http://www.alice.org/index.php?page=what_is_alice/what_is_alice It was originally written in Python, not sure if that's changed in more recent years. FWIW... Dylan From shenderson at usgs.gov Fri Jul 18 22:45:06 2008 From: shenderson at usgs.gov (Scott Henderson) Date: Fri, 18 Jul 2008 13:45:06 -0700 Subject: [portland] Interested in Python Courses Message-ID: Hello, I recently have started GUI development job for the USGS in Vancouver, WA and I'm having to learn Python for the first time. I came across the postings for the PDX meeting group, and I plan to make the next meeting. In the meantime I was trying to find a local Python programming course to enroll in, either private or through a college, but I can't find any relevant course listings. I was hoping that the PDX user group might be able to suggest a way to receive some formal Python training. Thanks! -Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From robin at alldunn.com Sat Jul 19 05:15:44 2008 From: robin at alldunn.com (Robin Dunn) Date: Fri, 18 Jul 2008 20:15:44 -0700 Subject: [portland] Interested in Python Courses In-Reply-To: References: Message-ID: <48815C60.5070305@alldunn.com> Scott Henderson wrote: > Hello, > > I recently have started GUI development job for the USGS in Vancouver, WA > and I'm having to learn Python for the first time. I came across the > postings for the PDX meeting group, and I plan to make the next meeting. > In the meantime I was trying to find a local Python programming course to > enroll in, either private or through a college, but I can't find any > relevant course listings. I was hoping that the PDX user group might be > able to suggest a way to receive some formal Python training. If your budget can handle it, OSCON is next week. http://en.oreilly.com/oscon2008/public/schedule/topic/Python -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! From dylanr at dylanreinhardt.com Sat Jul 19 05:37:03 2008 From: dylanr at dylanreinhardt.com (Dylan Reinhardt) Date: Fri, 18 Jul 2008 20:37:03 -0700 Subject: [portland] Interested in Python Courses In-Reply-To: <48815C60.5070305@alldunn.com> References: <48815C60.5070305@alldunn.com> Message-ID: <4c645a720807182037v3e8150ebgd56ff3186bb484a2@mail.gmail.com> The PCC was talking about adding a Python course for the fall. I'm not sure what the status of that is, but perhaps it would be more likely to happen if there is interest. HTH, Dylan On Fri, Jul 18, 2008 at 8:15 PM, Robin Dunn wrote: > Scott Henderson wrote: >> >> Hello, >> >> I recently have started GUI development job for the USGS in Vancouver, WA >> and I'm having to learn Python for the first time. I came across the >> postings for the PDX meeting group, and I plan to make the next meeting. In >> the meantime I was trying to find a local Python programming course to >> enroll in, either private or through a college, but I can't find any >> relevant course listings. I was hoping that the PDX user group might be able >> to suggest a way to receive some formal Python training. > > If your budget can handle it, OSCON is next week. > > http://en.oreilly.com/oscon2008/public/schedule/topic/Python > > > -- > Robin Dunn > Software Craftsman > http://wxPython.org Java give you jitters? Relax with wxPython! > > _______________________________________________ > Portland mailing list > Portland at python.org > http://mail.python.org/mailman/listinfo/portland > From igal at pragmaticraft.com Sat Jul 19 06:08:05 2008 From: igal at pragmaticraft.com (Igal Koshevoy) Date: Fri, 18 Jul 2008 21:08:05 -0700 Subject: [portland] Interested in Python Courses In-Reply-To: References: Message-ID: <488168A5.4010101@pragmaticraft.com> Scott Henderson wrote: > I recently have started GUI development job Congratulations! > I'm having to learn Python for the first time. You may not necessarily need classes because Python is much easier to learn than many other languages. The language design is clear and straightforward with few gotchas. The online documentation is excellent and I learned everything I needed from the following official sources: * http://docs.python.org/tut/tut.html - The Tutorial * http://docs.python.org/lib/lib.html - The Library Reference For day-to-day work, I'd almost always have the Quick Reference open: * http://benyoonline.com/pqr/pqr25/PQR2.5.html A friend of mine has used the following textbook for teaching CS classes and recommends it: http://www.amazon.com/Python-Programming-Introduction-Computer-Science/dp/1887902996 It may still be worth taking classes if that's how you prefer to learn, but those online references should be a continual help as you work with Python. -igal From sean_marcia at yahoo.com Sat Jul 19 08:21:15 2008 From: sean_marcia at yahoo.com (sean marcia) Date: Fri, 18 Jul 2008 23:21:15 -0700 (PDT) Subject: [portland] Interested in Python Courses Message-ID: <475951.51123.qm@web58709.mail.re1.yahoo.com> Scott, Let me add my congratulations to Igal's. I, too, am new to python (only about 3 weeks in) and have found that it has a pretty quick learning curve. I know the U of O has python classes (it us CS122) but I am not sure if they offer it at the Portland campus. I also agree with the book recommendation and would add Power Python ( http://www.amazon.com/Python-Power-Comprehensive-Guide/dp/1598631586 )to the list. They are the two books I bought and they both are pretty easy reads for an absolute beginner. I would also recommend asking a lot of questions in the #python channel, the people in there have been extremely helpful in my learning process. Good luck! I hope to see you if I ever make it to a meeting! Happiness, Sean ----- Original Message ---- From: Igal Koshevoy To: "Python Users Group -- Portland, Oregon USA" Sent: Friday, July 18, 2008 9:08:05 PM Subject: Re: [portland] Interested in Python Courses Scott Henderson wrote: > I recently have started GUI development job Congratulations! > I'm having to learn Python for the first time. You may not necessarily need classes because Python is much easier to learn than many other languages. The language design is clear and straightforward with few gotchas. The online documentation is excellent and I learned everything I needed from the following official sources: * http://docs.python.org/tut/tut.html - The Tutorial * http://docs.python.org/lib/lib.html - The Library Reference For day-to-day work, I'd almost always have the Quick Reference open: * http://benyoonline.com/pqr/pqr25/PQR2.5.html A friend of mine has used the following textbook for teaching CS classes and recommends it: http://www.amazon.com/Python-Programming-Introduction-Computer-Science/dp/1887902996 It may still be worth taking classes if that's how you prefer to learn, but those online references should be a continual help as you work with Python. -igal _______________________________________________ Portland mailing list Portland at python.org http://mail.python.org/mailman/listinfo/portland From jek at discorporate.us Sun Jul 20 20:34:54 2008 From: jek at discorporate.us (jason kirtland) Date: Sun, 20 Jul 2008 11:34:54 -0700 Subject: [portland] OSCON: Python & Django Meetup - Tuesday 7/22 Message-ID: <4883854E.5080901@discorporate.us> Join local and visiting Pythonistas and Djangonauts for a casual get-together on the rooftop deck at Jax! * Tuesday, July 22nd 7pm - 10pm * Jax Bar and Restaurant 826 SW 2nd Ave Portland, OR 97204 The event is open to everyone, you don't need to be an OSCON attendee. Find directions at http://oscon.pdxpython.org/ Cheers! -Jason From hallettj at gmail.com Tue Jul 29 22:39:23 2008 From: hallettj at gmail.com (Jesse Hallett) Date: Tue, 29 Jul 2008 13:39:23 -0700 Subject: [portland] Which templating engine am I thinking of? Message-ID: <8a02878f0807291339n35700735jd3f177b6fcf54066@mail.gmail.com> I remember Igal mentioning a templating engine at a meeting that he liked because it uses valid XHTML as its source, and allows for placeholder text in tag contents. So you could hand some template code to a designer, who could load it up in Dreamweaver and work on it as though it were a static HTML file. I didn't manage to remember the name of the engine though. Is it SimpleTAL? I haven't had a chance to use many different templating engines; so I have been poking around to see what I am missing out on. SimpleTAL seems nice for its aforementioned XHTMLness. I have also been reading good things about Mako, Jinja, Genshi, and Cheetah. From adam at therobots.org Tue Jul 29 22:50:53 2008 From: adam at therobots.org (Adam Lowry) Date: Tue, 29 Jul 2008 13:50:53 -0700 Subject: [portland] Which templating engine am I thinking of? In-Reply-To: <8a02878f0807291339n35700735jd3f177b6fcf54066@mail.gmail.com> References: <8a02878f0807291339n35700735jd3f177b6fcf54066@mail.gmail.com> Message-ID: <488F82AD.1040102@therobots.org> Jesse Hallett wrote: > I remember Igal mentioning a templating engine at a meeting that he > liked because it uses valid XHTML as its source, and allows for > placeholder text in tag contents. So you could hand some template code > to a designer, who could load it up in Dreamweaver and work on it as > though it were a static HTML file. > It might have been Kid or Genshi: http://www.kid-templating.org/ http://genshi.edgewall.org/ Kid's Trac is down at the moment, I think, but there are some examples here: http://www.kid-templating.org/language.html And there are Genshi examples about 1/3 of the way down this page: http://genshi.edgewall.org/wiki/GenshiTutorial Adam From rami at typethink.com Tue Jul 29 23:28:03 2008 From: rami at typethink.com (Rami Kassab) Date: Tue, 29 Jul 2008 14:28:03 -0700 Subject: [portland] Which templating engine am I thinking of? In-Reply-To: <488F82AD.1040102@therobots.org> References: <8a02878f0807291339n35700735jd3f177b6fcf54066@mail.gmail.com> <488F82AD.1040102@therobots.org> Message-ID: <4854B281-F682-4674-9A12-160EE9CF89C1@typethink.com> Yes I believe it's Kid. Rami Kassab M 503.888.8605 W 503.626.6231 F 503.626.6233 6025 SW Jean Rd. Lake Oswego, OR 97035 Sent by my iPhone. On Jul 29, 2008, at 1:50 PM, Adam Lowry wrote: > Jesse Hallett wrote: >> I remember Igal mentioning a templating engine at a meeting that he >> liked because it uses valid XHTML as its source, and allows for >> placeholder text in tag contents. So you could hand some template >> code >> to a designer, who could load it up in Dreamweaver and work on it as >> though it were a static HTML file. >> > > It might have been Kid or Genshi: > http://www.kid-templating.org/ > http://genshi.edgewall.org/ > > Kid's Trac is down at the moment, I think, but there are some > examples here: > http://www.kid-templating.org/language.html > > And there are Genshi examples about 1/3 of the way down this page: > http://genshi.edgewall.org/wiki/GenshiTutorial > > Adam > _______________________________________________ > Portland mailing list > Portland at python.org > http://mail.python.org/mailman/listinfo/portland From igal at pragmaticraft.com Tue Jul 29 23:49:37 2008 From: igal at pragmaticraft.com (Igal Koshevoy) Date: Tue, 29 Jul 2008 14:49:37 -0700 Subject: [portland] Which templating engine am I thinking of? In-Reply-To: <488F82AD.1040102@therobots.org> References: <8a02878f0807291339n35700735jd3f177b6fcf54066@mail.gmail.com> <488F82AD.1040102@therobots.org> Message-ID: <488F9071.3070503@pragmaticraft.com> Adam Lowry wrote: > Jesse Hallett wrote: > >> I remember Igal mentioning a templating engine at a meeting that he >> liked because it uses valid XHTML as its source, and allows for >> placeholder text in tag contents. So you could hand some template code >> to a designer, who could load it up in Dreamweaver and work on it as >> though it were a static HTML file. >> > > It might have been Kid or Genshi: > http://www.kid-templating.org/ > http://genshi.edgewall.org/ > > Kid's Trac is down at the moment, I think, but there are some examples here: > http://www.kid-templating.org/language.html > > And there are Genshi examples about 1/3 of the way down this page: > http://genshi.edgewall.org/wiki/GenshiTutorial > Yup, I was referring to Kid and Genshi -- thanks Adam and Rami. I strongly recommend Genshi because it pinpointed parse errors in templates, whereas Kid's error reporting made it very difficult to figure out what went wrong and where. -igal From hallettj at gmail.com Wed Jul 30 03:03:04 2008 From: hallettj at gmail.com (Jesse Hallett) Date: Tue, 29 Jul 2008 18:03:04 -0700 Subject: [portland] Which templating engine am I thinking of? In-Reply-To: <488F9071.3070503@pragmaticraft.com> References: <8a02878f0807291339n35700735jd3f177b6fcf54066@mail.gmail.com> <488F82AD.1040102@therobots.org> <488F9071.3070503@pragmaticraft.com> Message-ID: <1217379784.8680.0.camel@gibson> Great! Thanks for pointing that out. On Tue, 2008-07-29 at 14:49 -0700, Igal Koshevoy wrote: > Adam Lowry wrote: > > Jesse Hallett wrote: > > > >> I remember Igal mentioning a templating engine at a meeting that he > >> liked because it uses valid XHTML as its source, and allows for > >> placeholder text in tag contents. So you could hand some template code > >> to a designer, who could load it up in Dreamweaver and work on it as > >> though it were a static HTML file. > >> > > > > It might have been Kid or Genshi: > > http://www.kid-templating.org/ > > http://genshi.edgewall.org/ > > > > Kid's Trac is down at the moment, I think, but there are some examples here: > > http://www.kid-templating.org/language.html > > > > And there are Genshi examples about 1/3 of the way down this page: > > http://genshi.edgewall.org/wiki/GenshiTutorial > > > Yup, I was referring to Kid and Genshi -- thanks Adam and Rami. > > I strongly recommend Genshi because it pinpointed parse errors in > templates, whereas Kid's error reporting made it very difficult to > figure out what went wrong and where. > > -igal > _______________________________________________ > Portland mailing list > Portland at python.org > http://mail.python.org/mailman/listinfo/portland From jek at discorporate.us Thu Jul 31 20:40:22 2008 From: jek at discorporate.us (jason kirtland) Date: Thu, 31 Jul 2008 14:40:22 -0400 Subject: [portland] Reminder: Summer Coder's Social - This Sunday 8/3 11-5 @ Laurelhurst Park Message-ID: <48920716.50604@discorporate.us> Hi all, Just a quick reminder that the Summer Coder's Social is this Sunday, 11am-5pm outdoors at Laurelhurst Park. The event is being sponsored by Mozilla, and they'll be providing hot dogs, hamburgers and veggie versions for the BBQ. The sides and dessert are potluck- check the event site to see who is bringing what and put yourself down for a dish. And this is a BYOB event. The forecast looks good. Come on out, and bring the family! RSVP at Upcoming: http://upcoming.yahoo.com/event/869350/ Potluck, Maps + More Info: http://pdxgroups.pbwiki.com/Coders-Summer-Social Cheers, Jason