From jeffh at dundeemt.com Thu Jun 7 04:56:54 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Wed, 6 Jun 2007 21:56:54 -0500 Subject: [omaha] Call for Topics: June Meeting Message-ID: <5aaed53f0706061956j65a659a6y91a68e3ec617c401@mail.gmail.com> The June 14th meeting is approaching and I thought that I would ask for ideas on Topics. Does anyone have a topic that they would like to present? Are there any requests from the list? I am ready with talks on nosetest and the subprocess module. I could also talk about mod_python and vampire::publisher. -- Jeff Hinrichs www.OmahaPython.org From elicriffield at gmail.com Thu Jun 7 21:53:59 2007 From: elicriffield at gmail.com (Eli Criffield) Date: Thu, 7 Jun 2007 14:53:59 -0500 Subject: [omaha] Call for Topics: June Meeting In-Reply-To: <5aaed53f0706061956j65a659a6y91a68e3ec617c401@mail.gmail.com> References: <5aaed53f0706061956j65a659a6y91a68e3ec617c401@mail.gmail.com> Message-ID: <18e3f33d0706071253u39b12dcfyf11e10cd2d4dec5d@mail.gmail.com> > I am ready with talks on nosetest and the subprocess module. I could > also talk about mod_python and vampire::publisher. Im intrested in subprocess and mod_python. Whats vampire::publisher and nosetest? (and why the perl like ::) Anyone else planing on coming? Eli Criffield From brad at iridiumdesign.com Fri Jun 8 00:03:13 2007 From: brad at iridiumdesign.com (Brad Siegfreid) Date: Thu, 7 Jun 2007 17:03:13 -0500 Subject: [omaha] Call for Topics: June Meeting In-Reply-To: <18e3f33d0706071253u39b12dcfyf11e10cd2d4dec5d@mail.gmail.com> References: <18e3f33d0706071253u39b12dcfyf11e10cd2d4dec5d@mail.gmail.com> Message-ID: <861fb7bd4b228975aa2d2f5f688f82f0@iridiumdesign.com> I just found this group and might be able to make it to next month's meeting. What is the attendance usually like? By the way, I'm a recent convert to Python and have been using it for some small web sites using Django. It's let me fall in love with web app development all over again. Now if I can just convert my day job... Brad On Thu, 7 Jun 2007 14:53:59 -0500, "Eli Criffield" wrote: >> I am ready with talks on nosetest and the subprocess module. I could >> also talk about mod_python and vampire::publisher. > > Im intrested in subprocess and mod_python. > Whats vampire::publisher and nosetest? (and why the perl like ::) > > Anyone else planing on coming? > > Eli Criffield > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org From jeffh at dundeemt.com Fri Jun 8 01:57:37 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Thu, 7 Jun 2007 18:57:37 -0500 Subject: [omaha] Call for Topics: June Meeting In-Reply-To: <18e3f33d0706071253u39b12dcfyf11e10cd2d4dec5d@mail.gmail.com> References: <5aaed53f0706061956j65a659a6y91a68e3ec617c401@mail.gmail.com> <18e3f33d0706071253u39b12dcfyf11e10cd2d4dec5d@mail.gmail.com> Message-ID: <5aaed53f0706071657x7e5636a0jca409c6836686ec1@mail.gmail.com> On 6/7/07, Eli Criffield wrote: > > I am ready with talks on nosetest and the subprocess module. I could > > also talk about mod_python and vampire::publisher. > > Im intrested in subprocess and mod_python. > Whats vampire::publisher and nosetest? (and why the perl like ::) vampire, http://www.dscpl.com.au/projects/vampire/ , is an extension module for mod_python. It has some nice dispatch capabilities, an imho, is better than the stock mod_python::publisher. The double colons are from the apache config line for setting up handlers in mod_python. i.e. vampire was written by one of the key mod_python developers. ... # Pass all requests through Vampire publisher. SetHandler python-program PythonHandler vampire::publisher ... nosetest, http://somethingaboutorange.com/mrl/projects/nose/ -- nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic. > > Anyone else planing on coming? of course > Eli Criffield > _______________________________________________ > Omaha Python Users Group mailing list > Omaha at python.org > http://mail.python.org/mailman/listinfo/omaha > http://www.OmahaPython.org > -- Jeff Hinrichs From jeffh at dundeemt.com Fri Jun 8 02:03:02 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Thu, 7 Jun 2007 19:03:02 -0500 Subject: [omaha] Call for Topics: June Meeting In-Reply-To: <861fb7bd4b228975aa2d2f5f688f82f0@iridiumdesign.com> References: <18e3f33d0706071253u39b12dcfyf11e10cd2d4dec5d@mail.gmail.com> <861fb7bd4b228975aa2d2f5f688f82f0@iridiumdesign.com> Message-ID: <5aaed53f0706071703u28cf2533h536140a1818e8c9b@mail.gmail.com> On 6/7/07, Brad Siegfreid wrote: > > I just found this group and might be able to make it to next month's > meeting. What is the attendance usually like? We'd like to see you there too. The past couple meetings have been small -- but that makes for good exchanges. > By the way, I'm a recent convert to Python and have been using it for some > small web sites using Django. It's let me fall in love with web app > development all over again. Now if I can just convert my day job... > Django...nice. As for conversion, some of us do get to use python at our day jobs -- we often end up talking about that very subject at meetings. Maybe you'll pick up some ideas on how to get snakes on your job. From jeffh at dundeemt.com Wed Jun 13 05:46:55 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Tue, 12 Jun 2007 22:46:55 -0500 Subject: [omaha] ANN: Omaha Python Users Group Meeting - June 14 @ 7pm Message-ID: <5aaed53f0706122046yff5855fl1033d6625653db48@mail.gmail.com> The second Thursday of the month is quickly approaching. What: Omaha Python Users Group Meeting When: June 14, 2007 - 7pm Why: Topics: + Lightning Talks + subprocess module + more... Refreshments: + Pizza and Pop will be served. Please make sure and mail the list with toppings and flavor requests for the meeting. Where: Reboot The User 13416 A Street Omaha, NE 68144 map: http://tinyurl.com/2lzv55 More Information on the group is available @ http://www.OmahaPython.org/ -- Jeff Hinrichs "If you get even just three Python programmers with a pulse in the same room with a laptop, they will find something interesting to do." -- Chris Calloway on the group-organizers list From jeffh at dundeemt.com Fri Jun 15 07:28:30 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 15 Jun 2007 00:28:30 -0500 Subject: [omaha] Omaha Python Users Group, June 14 -- Meeting Notes Message-ID: <5aaed53f0706142228o275fc37ey58f54a9738ad72b9@mail.gmail.com> June 14, 2007 Another banner meeting occurred this evening. Although it was a bit warm there were some cool conversations going on at the meeting tonight. There was questions and talk about, targeting win32, : ctypes - http://python.net/crew/theller/ctypes/) win32all - http://sourceforge.net/project/showfiles.php?group_id=78018 database: db api - http://www.python.org/dev/peps/pep-0249/ sqlalchemy - http://www.sqlalchemy.org/ packaging: py2exe - http://www.py2exe.org/ cx_freeze - http://python.net/crew/atuining/cx_Freeze/ distutils - http://www.python.org/community/sigs/current/distutils-sig/ easy_install - http://peak.telecommunity.com/DevCenter/EasyInstall UI: wxPython - http://www.wxpython.org/ pythoncard - http://pythoncard.sourceforge.net/ Web: django - http://www.djangoproject.com/ turbogears - http://www.turbogears.org/ pylons - http://pylonshq.com/ mod_python - http://www.modpython.org/ cheetah - http://www.cheetahtemplate.org/ Jeff gave a short presentation on the subprocess module http://docs.python.org/dev/lib/module-subprocess.html The slides and example code are available on the website. http://www.omahapython.org/ He also gave a little demo of his current internal project showing off subprocess, mod_python and pyRSS2Gen. There was also a round of talk about using python as a tool to target multiple platforms at once, giving the user leverage to move between those platforms as they see fit. Also the ability of python to leverage existing code and services. A number of the attendees illustrated this topic by talking about how they are using python to build on existing resources and integrate systems on the application and OS level. It is interesting to see Python being used in banks and hospitals. As with previous meetings, kudos to Jay and Reboot The User for graciously donating the space for the gathering. Pizza and Pop sponsored by DM&T. The door prize winner tonight, Todd, will receive "Python in a Nutshell, 2nd Edition" courtesy of O'Reilly. Unfortunately I left the house in such a rush tonight, that I didn't remember to bring it along. Todd, if you are going to be at the OLUG East luncheon Friday, I will have it with me and you can get it there. Otherwise, email me off list and we can make arrangements to get it to you pdq. Mark your calendars early, July 12, and don't miss out on the fun. Here is gCal link so you can add it to your calendar. http://www.google.com/calendar/render?cid=epouplrdducr6atraggiflnfeg%40group.calendar.google.com We'll be giving away something for a door prize. There will be food and drink and hopefully many more "lightning" talks about projects by local python developers. -Jeff http://www.OmahaPython.org From elicriffield at gmail.com Fri Jun 22 22:23:04 2007 From: elicriffield at gmail.com (Eli Criffield) Date: Fri, 22 Jun 2007 15:23:04 -0500 Subject: [omaha] psyco? Message-ID: <18e3f33d0706221323r5cd641d3ta4ca40bd9e2a2693@mail.gmail.com> I love when i find something cool. Maybe everyone already knows about Psyco, http://psyco.sourceforge.net/ but i just found it. Its speeds up your python code 2x to 100x with an unmodified Python interpreter and unmodified source code according to there website. I have a script that parses some big compressed log files and regex's out the information it needs. I didn't think psyco could do much because the IO and uncompressing the logs is probably what takes most of the time. It did help though, 63% faster. It went from 136mins to 86 mins by just adding 2 lines. import psyco psyco.full() It'll be interesting to see how it does on other things. Eli Criffield From jeffh at dundeemt.com Sat Jun 23 04:43:14 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Fri, 22 Jun 2007 21:43:14 -0500 Subject: [omaha] psyco? In-Reply-To: <18e3f33d0706221323r5cd641d3ta4ca40bd9e2a2693@mail.gmail.com> References: <18e3f33d0706221323r5cd641d3ta4ca40bd9e2a2693@mail.gmail.com> Message-ID: <5aaed53f0706221943k4e79338ey6e117c4f16c2a7d@mail.gmail.com> On 6/22/07, Eli Criffield wrote: > I love when i find something cool. > > Maybe everyone already knows about Psyco, > http://psyco.sourceforge.net/ but i just found it. > Its speeds up your python code 2x to 100x with an unmodified Python > interpreter and unmodified source code according to there website. > > I have a script that parses some big compressed log files and regex's > out the information it needs. > > I didn't think psyco could do much because the IO and uncompressing > the logs is probably what takes most of the time. It did help though, > 63% faster. It went from 136mins to 86 mins by just adding 2 lines. > > import psyco > psyco.full() > > It'll be interesting to see how it does on other things. > Ok, you made me curious. I just checked out psyco from svn and installed it on my lappy. I ran through some of the tests in the distribution and that was impressive. I haven't had a chance to try it on a piece of production code yet. I've got a couple in mind, but that will have to wait for a day or two Did you see how Armin used it to speed up the life.py example. class LifeBoard: ...snipping the class def but lots of churning in there import psyco psyco.bind(LifeBoard) Instead of doing a full, he just targets the most used class. -jeff From jeffh at dundeemt.com Fri Jun 29 04:48:57 2007 From: jeffh at dundeemt.com (Jeff Hinrichs - DM&T) Date: Thu, 28 Jun 2007 21:48:57 -0500 Subject: [omaha] better than pyexpect? Message-ID: <5aaed53f0706281948i1ab9c685wf632e40ec2f0fd9b@mail.gmail.com> At our last gathering Eli and others were talking about the Expect utility and the pyexpect bindings. While I was going through my feeds tonight I came across a story, "Exscript Scripting Language - Automating Telnet" http://debain.org/?p=196 The author talks about using pyexpect, having some difficulties, then moving to perl and then eventually leaving perl and writing their own python module. It has a number of features including threading. http://code.google.com/p/exscript/ Anyone heard of this or used it? _jeff