Monday, December 7, 2009

pyCologne Python User Group, Cologne, Germany, December, 9th, Announcement

The next meeting of pyCologne will take place

Wednesday, December, 9th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

This time we haven't got a fixed agenda yet.
We will probably talk about the organization of this year's Christmas Party.

At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Sunday, November 8, 2009

pyCologne Python User Group, Cologne, Germany, November, 11th, Announcement

The next meeting of pyCologne will take place

Wednesday, November, 11th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Beyond MVC - The ZOPE-Component-Model (Charlie Clark)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Sunday, October 18, 2009

pyCologne Python User Group, Cologne, Germany, October, 14th Notes

The Python User Group Cologne (pyCologne) met on October, 14th at the computer centre of the University of Cologne. The meeting was attended by 19 people. German speakers might want to refer to our wiki page which you can reach at moment only on http://wiki.python-forum.de/User Group Köln/

This time we had two talks about Google Wave. Many thanks to Alexander Benker and Andi Albrecht:

Overview of Google Wave (Alexander Benker)

Alexander gave a detailed overview of Google Wave. He presented the elements of Google Wave (Wave, Wavelet, Blip) as well as its architecture. Furthermore, he described Wave's extensibility using Robots and Gadgets and presented some examples among them a Robot for Syntax-Highlighting.

The full talk is available on Slideshare:

http://www.slideshare.net/abenker/20091014-google-wave


Google Wave Robots in Python (Andi Albrecht)

Andi showed how to program robots for Wave using Python. As an example he presented a robot which sets the color of a certain letter sequence to red while typing a text.
You can have a look at Andi's example robot watching the screencast.

Google Wave, Discussion

There developed a lively discussion and Q&A about Wave's technology and possible use-cases.

SetupTools vs. Distribute

Christopher Arndt encourages discussion about using SetupTools or Distribute.

The cause are recent blog-entries by Phillip J. "PJ" Eby:

http://dirtsimple.org/2009/10/clarification-or-two.html
http://mail.python.org/pipermail/distutils-sig/2009-October/013822.html

The minutes of the meeting in German language can be found here.

The next meeting will be held on, Wednesday, November, 11th.

Most of the participants enjoyed the rest of the evening in our usual italian restaurant having food, drinks and friendly conversation.

Sunday, October 11, 2009

pyCologne Python User Group, Cologne, Germany, October, 14th, Announcement

The next meeting of pyCologne will take place

Wednesday, October, 14th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Google Wave (Andi Albrecht, Florian Scheel)

At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://wiki.python.de/User_Group_Köln (Sorry, this page is in German only)

Monday, September 7, 2009

pyCologne Python User Group, Cologne, Germany, September, 9th, Announcement

The next meeting of pyCologne will take place

Wednesday, September, 9th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:

At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://wiki.python.de/User_Group_Köln (Sorry, this page is in German only)

Sunday, August 30, 2009

pyCologne Python User Group, Cologne, Germany, August, 12th Notes

The Python User Group Cologne (pyCologne) met on August, 12th at the computer centre of the University of Cologne. The meeting was attended by 17 people. German speakers might want to refer to our wiki page http://www.pycologne.de.

Flyer

The pyCologne-Flyer is ready for print!!! Klaus Bremer introduces its contents:
  • The three inner pages contain information about Python.
  • The title page shows the pyCologne-Logo and short information about pyCologne.
  • The remaining pages contain a short description of pyCologne and contact information.
Please see the flyer on: http://wiki.python.de/User%20Group%20K%C3%B6ln/Flyer

Todays Talk: How to automate and extend Windwows-Applications with pywin32 (Andreas Schreiber)

Andreas introduced the pyWin32 Module, which makes it possible to communicate via the COM-Interface to Windows-Applications.

  • COM uses the Client-Server-Model
  • Nearly each peace of software on Windows provides a COM-Interface, mainly the Office-Applications.
  • It is possible to "remote control" applications. Andreas presented an example which controls Word via the Python-Command-Line.
  • Moreover, COM makes it possible to register Python-Code for events of Office-Applications: Andreas showed an example which catches the "turning-page"-event from a Power-Point presentation and sends the page heading out to Twitter.
  • It can be quite difficult to examine the COM-Interface provided by different applications. There are some tools available like COM-Browser and makepy. Moreover, it is a good idea to have a look into the help-file of the application, which often contains an application specific documentation of the COM-Interface.
Details in German are available on: http://wiki.python.de/User%20Group%20K%C3%B6ln/VortragWindowsAutomatisierung

The announced talk "MIDI-Programming using Python on Linux/ALSA" unfortunately had to be canceled because Chris was ill.

Announcements


The minutes of the meeting in German language can be found here.

The next meeting will be held on, Wednesday, September, 9th.

Most of the participants enjoyed the rest of the evening in our usual italian restaurant having food, drinks and friendly conversation.

Thursday, August 13, 2009

PUB - Python Users Berlin, Germany, 20th of August, Announcement

Python Users Berlin are meeting next Thursday (20.08) , 7pm

The gathering takes place at newthinkingstore, Tucholskystr. 48, 10117 Berlin, Germany

There will be a talk about Python 3.

Everybody with an interest in Python is invited to come. Afterwards, we'll have food and drinks in a nearby restaurant (please sign here for the restaurant visit)

See you next Thursday, Stephan

http://wiki.python.de/User Group Berlin

Monday, August 10, 2009

pyCologne Python User Group, Cologne, Germany, August, 12th, Announcement

The next meeting of pyCologne will take place

Wednesday, August, 12th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://wiki.python.de/User_Group_Köln (Sorry, this page is in German only)

Wednesday, July 22, 2009

DFW Pythoneers 4th Saturday Meeting

This Saturday is the usual 4th Saturday meeting of the DFW Pythoneers. We're meeting at the coworking facility Company|Dallas in Richardson at noon. Bring your lunch, they have free drinks. You can find directions at their website.

We'll start with informal discussion about what's happening in Python, along with some "what does this code do" Python examples I found in the unit-testing code for the cPython interpreter. Would you recognize a backtracking generator? How about a lazy list iterator? For a taste, check out test_generators.py

There will also be simple examples for those new to Python.

While we start gathering at noon to talk over lunch, the formal presentation won't start until 2pm. I'll be giving a presentation from PyCon 2009 about Python Namespaces, Code Objects and How They Work Together Under The Hood.

And if there is interest, I'd like to continue sprinting on reimplementing the M.U.L.E. game using the Pyglet OpenGL framework. We can split into teams tackling two pieces reusable in other games:
  1. An Avahi/Bonjour-based network component for detecting the presence of all active games of a certain kind (e.g. M.U.L.E.) on the LAN, determining which are currently open for new players (i.e. in the game start phase) and returning this information for presenting in some kind of GUI. A user can then select which game to join. Because of the nature of the network, this should be implemented in an asynchronous fashion.

  2. A Pyglet-based component for animating a character walking across the screen in all eight directions. It should contain a step generator that controls the rate of walking, and listen to events from the keyboard (or joystick or network) telling it in which direction to walk. It must be possible for multiple instances to exist so that players can concurrently walk their characters around the board. Other components should be able to subscribe to walk events to handle actions based on where the character is walking including slowing or aborting the walk.
We can discuss perhaps doing this in the style of a Code Dojo:

Schedule
12:00 lunch
02:00 "Python Namespaces and Code Objects"

I hope to see you there!

Sunday, July 19, 2009

pyCologne Python User Group, Cologne, Germany, July 8th Notes

The Cologne Python User Group met on July, 8th at the computer centre of the University of Cologne. The meeting was attended by 14 people. German speakers might want to refer to our wiki page http://www.pycologne.de.

Announcements
  • Johannes Huperts: The Linux-UserGroup will hold an Install-Party on August, 23rd. People who like to help are welcome.

  • HelmutSiegert: September, 9th there will be held a Free-Software-Day at Odysseum/Cologne. They ask for participation of pyCologne:

    • General talks about Python topics.
    • Help within a Linux Install Party
Todays Talk: Django (Daniel Hepper)

Django is a framework for creating web-applications which supports the following technologies/approaches:

  • MVC - Model-View-Controller
  • O/R-Mapper
  • Auto-Admin Interface
  • User-friendly URLs
  • Templates
  • User-/Session-Management

Firstly, Daniel gave a general introduction into creation of web-sites beginning with static HTML, over CGI-Scripts to modern web-frameworks .

Secondly, he introduced Django by creating a Django application to manage "Running-Events" like e.g. Marathons.

Django features the semi-automatic creation of applications using manage-scripts, which for example generate database-tables from models written down in Python-code. It is possible to generate Python-code from database-tables as well.

The create-, update-, and view-pages can be created based on templates. However, it is possible to use generic views to display data from a database without programming.

Report vom EuroPython 2009

This year's EuroPython took place in Birmingham (UK). Location was the Birmingham Conservatoire. There were about 450 participants.

From pyCologne AndreasSchreiber, JanUlrichHasecke, Henning und ReimarBauer met in Birmingham.

For EuroPython advance booking for the conference as well as for talks is necessary.

There were 6 tracks in parallel. Therefore, it was not possible to attend all talks of interest. However there are recordings.

Speakers have to apply to EuroPython in advance. New topics are favored over the repetition of older talks.

Furthermore, an Open-Space for free exchange of information is provided. Food, drink and coffee are provided as well.

Participation fee is around 90 Pounds (GBP) für 3 days.

The minutes of the meeting in German language can be found here.

The next meeting will be held on, Wednesday, August, 12th.

Some of the participants enjoyed the rest of the evening in our usual italian restaurant having food, drinks and friendly conversation.

Tuesday, July 14, 2009

4th Singapore Python User Group Meeting

When : Jul 16, 2009 from 07:00 pm to 09:00 pm
Where : SMU School of Information Systems NSR 2.1

We've got exciting topics lined up for our coming meeting. Mark out your diary guys!

Planned Program

Topic : DigiBanner : An Interactive Multi-Screen Network Application
Speaker : Morgan Heijdemann
Synopsis :
In this talk, Morgan will demonstrate the capabilities of Python in delivering a desktop realtime application. It shows the use of sockets (client/server), (queued) threading, the power of pickle, pyglet and the integration of wiiMotes. The application was developed with help of students in less than a month.

Topic : Using Google Application Engine and Amazon Web Services Together
Speaker : Dr. Chris Boesch
Synopsis :
In this talk, Chris will discuss an application that he has developed using the Google Application Engine (GAE) and Amazon Web Services (AWS). The application is designed to leverage the identity, scalability, and availability provided by GAE to implement public interfaces and then utilize Amazon EC2 and S3 where the GAE restrictions are too limiting. Python is used to implement both the GAE application code and code running in Amazon EC2 instances.

Topic : PUG
Speaker : Dr. Liew Beng Keat
Synopsis :
Python User Group (Singapore) is now a registered society. Beng Keat will introduce the members of the Pro-Tem committee and share plans for the society moving forward and in view of PyCon 2010.

Topic : Lightning Talks
Speaker : Open Invitation. Come on guys!
Synopsis :
All (personal) projects that you have done using Python. If you've never given a talk before, Lightning Talks are a good place to start. You don't need to make slides, but if you do, you only need to make three.

Friday, July 10, 2009

PUB - Python Users Berlin, Germany, 16th of Juli, Announcement

Python Users Berlin are meeting again next Thursday (16.07) , 7pm

Since it's summer, we'll have a BBQ at HU Berlin, Campus Nord, Phillipstraße 13, 10115 Berlin, Haus 18 (U6 Oranienburger Tor, S+U Friedrichstraße, Map)
There will be some beers and nonalcoholic drinks. There might be even some steaks, but to be on the safe side, bring in your own stuff for the grill.

Everybody with an interest in Python is invited to come.

See you next Thursday, Stephan

http://wiki.python.de/User Group Berlin

Tuesday, July 7, 2009

GruPy-SP - São Paulo Python User Group, Brazil - July Meeting Announcement

It's time for another meeting of our São Paulo (Brazil) Python User Group, GruPy-SP.

It will happen Saturday, July 25 starting around 2.00 pm at the Tau Hacklab.

Agenda: Python Conference Brazil 2010 (PythonBrasil 2010).

More information (directions, details) in Brazilian Portuguese:
http://www.python.org.br/wiki/GrupySP

Monday, July 6, 2009

pyCologne Python User Group, Cologne, Germany, July, 8th, Announcement

The next meeting of pyCologne will take place

Wednesday, July, 8th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Report from EuroPython 2009 (ReimarBauer, AndreasSchreiber)

  • Django (DanielHepper)

At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://wiki.python.de/User_Group_Köln (Sorry, this page is in German only)

pyCologne Python User Group, Cologne, Germany, June 10th Notes

The Cologne Python User Group met on June, 10th at the computer centre of the University of Cologne. The meeting was attended by 11 people. German speakers might want to refer to our wiki page http://www.pycologne.de.

Announcements
Proposals for upcoming pyCologne-Sessions
  • Daniel Hepper offers a talk about the Web-Framework Django
Todays Talk: Mercurial (Reimar Bauer)
  • Version-Control-Systems in General
  • Distributed Version-Control-Systems
  • Introduction into Mercurial (init, update, ...)
  • Clones, pull and push operations
You can find the talk (in German language) at http://wiki.python.de/User%20Group%20K%C3%B6ln/Protokoll%2020090610/mercurial

Books
The minutes of the meeting in German language can be found here.

The next meeting will be held on, Wednesday, July, 8th.

We enjoyed the rest of the evening in our usual italian restaurant having food, drinks and friendly conversation.

Tuesday, June 9, 2009

pyCologne Python User Group, Cologne, Germany, June, 10th, Announcement

The next meeting of pyCologne will take place

Wednesday, June, 10th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Mercurial (ReimarBauer)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://wiki.python.de/User_Group_Köln (Sorry, this page is in German only)

(Please note: Our usual web-address www.pycologne.de does not work at the moment for unknown reasons.)

Thursday, May 14, 2009

PyOhio CFP, May 15

A reminder: Proposals for PyOhio talks (tutorials, etc.) are due May 15 - tomorrow!

PyOhio 2009, the second annual Python programming mini-conference for Ohio and surrounding areas, will take place Saturday-Sunday, July 25-26, 2009 at the Ohio State University in Columbus, Ohio. A variety of activities are planned, including tutorials, scheduled talks, Lightning Talks, and Open Spaces. PyOhio will be free of charge.

PyOhio invites all interested people to submit proposals for scheduled talks and tutorials. PyOhio will accept abstracts on any topics of interest to Python programmers.

Standard presentations are expected to last 40 minutes with a 10 minute question-and-answer period. Other talk formats will also be considered, however; please indicate your preferred format in your proposal. Hands-on tutorial sessions are also welcomed. Tutorial instructors should indicate the expected length

PyOhio is especially interested in hosting a Beginners' Track for those new to Python or new to programming in general. If your proposal would be suitable for inclusion in the Beginners' Track, please indicate so. Organizers will work with speakers and instructors in the Beginners' Track to help them coordinate their talks/tutorials into a smooth, coherent learning curve for new Python users.

All proposals should include abstracts no longer than 500 words in length. Abstracts must include the title, summary of the presentation, the expertise level targeted, and a brief description of the area of Python programming it relates to.

All proposals should be emailed to cfp@pyohio.org for review. Please submit proposals by May 15, 2009. Accepted speakers will be notified by June 1.

You can read more about the conference at http://pyohio.org

If you have questions about proposals, please email cfp@pyohio.org. You can also contact the PyOhio organizers at pyohio-organizers@python.org.

Sunday, May 10, 2009

pyCologne Python User Group, Cologne, Germany, May, 13th, Announcement

The next meeting of pyCologne will take place

Wednesday, May, 13th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Code-Testing-Workshop including short presentations und discussion (Rex
    Turnbull, Ralf Schönian, Andi Albrecht et al.)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Friday, April 24, 2009

TuPLE (Tucson, AZ) - April recap

The TuPLE (Tucson, AZ) group met on Monday, April 20th, attended by 10 members.
We had some good conversation and it was great to see more new faces show up. 

Rich Saunders gave a presentation on Pycon 09, touching on some issues relevant to his work at Rincon Research. 
General discussion of Pycon structure (tutorials, general conference, sprints), Lightning Talks, and Open Spaces.

3 of our members attended Pycon. Generally agreed the lightning talks and open spaces were popular and enjoyable conference additions.

All pycon videos are available at http://pycon.blip.tv/ 

Pycon Tutorial sessions (http://us.pycon.org/2009/tutorials/schedule/) were filmed and are available 
in addition to the talks and general conference videos. These look to 
be a great resource for in-depth exploration of python topics, from 
Python 101 to "A Curious Course on Coroutines and Concurrency" 

---- 

O'Reilly User Group program 
We are now part of the O'Reilly UG program, which offers benefits to 
us as members (35% discount and free review copies)

Details and registration for other user groups available here: http://ug.oreilly.com/

---- 

We also briefly discussed setting up a website for the group using Google App Engine as an exercise/group project. There seems to be some interest in possible group projects or hack days, but there wasn't much in the way of commitment moving forward. We aren't using meetup.com so it would be nice to have an RSVP function and a more active web presence than the google group.

Encouraged members to bring in their projects/code samples for group review and discussion for the next meeting. 


PyOhio: Call for Proposals

PyOhio 2009, the second annual Python programming mini-conference for Ohio and surrounding areas, will take place Saturday-Sunday, July 25-26, 2009 at the Ohio State University in Columbus, Ohio. A variety of activities are planned, including tutorials, scheduled talks, Lightning Talks, and Open Spaces. PyOhio will be free of charge.

PyOhio invites all interested people to submit proposals for scheduled talks and tutorials. PyOhio will accept abstracts on any topics of interest to Python programmers.

Standard presentations are expected to last 40 minutes with a 10 minute question-and-answer period. Other talk formats will also be considered, however; please indicate your preferred format in your proposal. Hands-on tutorial sessions are also welcomed. Tutorial instructors should indicate the expected length

PyOhio is especially interested in hosting a Beginners' Track for those new to Python or new to programming in general. If your proposal would be suitable for inclusion in the Beginners' Track, please indicate so. Organizers will work with speakers and instructors in the Beginners' Track to help them coordinate their talks/tutorials into a smooth, coherent learning curve for new Python users.

All proposals should include abstracts no longer than 500 words in length. Abstracts must include the title, summary of the presentation, the expertise level targeted, and a brief description of the area of Python programming it relates to.

All proposals should be emailed to cfp@pyohio.org for review. Please submit proposals by May 15, 2009. Accepted speakers will be notified by June 1.

You can read more about the conference at http://pyohio.org

If you have questions about proposals, please email cfp@pyohio.org. You can also contact the PyOhio organizers at pyohio-organizers@python.org.

Monday, April 20, 2009

pyCologne Python User Group, Cologne, Germany, April 8th Notes

Unfortunately, there were only 4 people at our meeting on March, 11th. Therefore the talks were postponed.

The Cologne Python User Group met on April, 8th at the computer centre of the University of Cologne. The meeting was attended by about 12 people. German speakers might want to refer to our wiki page http://www.pycologne.de.

Announcements
Proposals for upcoming pyCologne-Sessions
This time we had two talks:

Twitter with Python (Andreas Schreiber)

The Talk introduces the MicroBlogging Service Twitter and describes how to use the Python API and Library python-twitter, to write text-messages to a Twitter-Microblog.

You can find the talk (in German language) at http://wiki.python.de/User_Group_K%C3%B6ln/VortragTwitterMitPython

Google's App-Engine (Andi Albrecht)

Andi gave an overview about Google's App Engine and the APIs used. He covers development and deployment of web-applications on this platform and describes among other topics how to use the API Datastore and the SQL-like language GQL to fetch data.

You can find the full talk (in German language) at http://wiki.python.de/User_Group_K%C3%B6ln/VortragAppEngine

Announcements and Information on Twitter

Thanks to Andreas Schreiber you can find pyCologne now on Twitter: twitter.com/pycologne

The minutes of the meeting in German language can be found here.

The next meeting will be held on, Wednesday, May, 13th.

We enjoyed the rest of the evening in our usual italian restaurant having food, drinks and friendly conversation.

Monday, April 6, 2009

pyCologne Python User Group, Cologne, Germany, April, 8th, Announcement

The next meeting of pyCologne will take place

Wednesday, April, 8th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Twitter with Python (Andreas Schreiber)
  • Google's APP-Engine (Andi Albrecht)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Friday, April 3, 2009

April Pyowa Wrapup

Our meeting was pretty poorly attended last night, but I think the four of us had fun discussing PyCon and then figuring out what we want to do to promote our group. We are currently thinking about getting a Google Ad for it. We went ahead an started a twitter feed using "pyowa" as our username. We may try plastering Iowa State University with flyers for our next meeting too.

Next time we plan to have am intro to sqlalchemy presentation and some kind of code review of a GIS model dump. We hope that one will be better attended. Until then.

Tuesday, March 31, 2009

TuPLE (Tucson, AZ) - March recap

There seems to be a good bit of interest in Python in the Tucson area, with new attendees from the UofA and several local companies who use Python for their daily work.

Ben Reynwar gave us an intro to Django, including basic project setup and routing urls to python methods.

Lucas Taylor introduced the Twisted framework and basic concepts including the Reactor, Deferreds, and Protocols. Demo code was shown to illustrate the basics of a simple server implementation.

Dave Thompson gave his Flash & Python talk. Included an overview of what Flash and Flex are, the AMF (Adobe Messaging Format), and python tools used for parsing and encoding objects in AMF. Discussed pyAMF and his own new library AmFast.  AmFast is an AMF3 encoder/decoder implemented for speed. Initial tests show an 18x increase in speed for the encode/decode operations.   Slides available on the limscoder blog

Monday, March 30, 2009

Pyowa Meeting This Week

This is just a reminder that we have a Pyowa meeting this week on Thursday, April 2nd. It will be held at Durham Center in Ames, IA on the ISU campus from 7-9 p.m. Directions are on the website (www.pyowa.org). Topics include the following:

1) What PyCon attendees thought of PyCon (likes, dislikes, etc)
2) Code snippets that they'd like to show that they learned about or created at PyCon
3) I attended a meeting about Python user groups and will share ideas with how we might improve ours
4) The last 10-20 minutes will probably be devoted to figuring out who will do what next time.

If you're in the area, come on out! Bring your friends, even if they think Perl is the coolest thing since sliced bread. We'll set them straight!

Mike Driscoll
www.pyowa.org

Monday, March 9, 2009

pyCologne Python User Group, Cologne, Germany, March, 11th, Announcement

The next meeting of pyCologne will take place

Wednesday, March, 11th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • UDP-Broadcasts (Rebecca Breu)
  • Twitter with Python (Andreas Schreiber)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Thursday, February 26, 2009

TuPLE (Tucson, AZ) - First official meeting recap

TuPLE (Tucson Python Language Enthusiasts) is off to a good start. Our first official meeting went well, with 6 attending.

Chris Merle started us off with an overview of Plone and two products that help to
inspect and interrogate the python objects in use:
DocFinderTab
DocFinderTab adds a tab to the ZMI that parses the docstrings of the class of the object you are using and presents them to you in the tab.
Clouseau
Clouseau embeds a live ajax based python interpreter into your plone site for debugging purposes. It looks to have some nice autocompletion features and lets you poke around the internals of a live instance.

Chris then demoed his news portlet modification that shows an excerpted portion of the news items (vs just the title and link), and explained how DocFinderTab and Clouseau both helped him determine which object attributes were going to be useful for displaying the content.

We had some good conversation about general interests, IDEs, reference books, and what kinds of presentations everyone is interested in. Django, advanced python, and C extensions are heading up the list for the future.

Misc. Notes:

  • Civilization 4 allows mod authors to use Python to modify aspects of
    the game. Hopefully we'll hear more about it in the future.
  • PyScripter - Free Windows Editor/IDE
  • Core Python (http://corepython.com/) was recommended as a good
    reference, others thought the online docs were adequate.
  • A couple of members are repeat pycon attendees. This year we'll have 2
    or 3 attending. April's meeting will be good for a pycon recap.
  • A python obfuscation tool was discussed
Thanks to Chris for presenting and everyone for attending!

Friday, February 20, 2009

DFW Pythoneers, 2nd Sat: Topics We Covered

The 2nd Saturday of February meeting of the DFW Pythoneers went well, with 5 people showing up even though it was Valentine's Day. We covered a grab bag of topics I'd researched ahead of time. It was part of a new plan of mine to structure our meetings a bit, by each month covering (1) a module in the standard library, (2) a programming concept, (3) a source code walkthrough and (4) a few "how would you do this?" type of questions. Feedback on this approach is welcome.


For the module in the standard library, we briefly covered the new print() function in Python 2.6:
from __future__ import print_function  # Python 2.6                                        
print(objects..., sep='', end='\n', file=sys.stdout)
and then the new .format() method on strings, as an alternative to the C style sprintf("%s %d", a, b) approach. The format() approach is more powerful than the % operator but takes some getting used to.

Feedback from some attendees is that it is too complicated, so we also covered the much simpler but less powerful Template module in the standard library.
  >>> from string import Template
>>> s = Template("$who likes $what")
>>> s.substitute(who='tim', what='cake')
tim likes cake
>>> s.substitute(who='tim') # error
...
>>> s.safe_substitute(who='tim')
tim likes $what

For the programming concept, we studied sequence slicing and subscripting.

While most of us have a good grasp on simple subscripting and from:to slicing, there are some deeper aspects here, a few of which can be seen in:
  a[4:5:5]    # extended slicing, with a stride
a[3, 4, 5] # a slice list
a[2:4, 5:7] # list of slices
a['a':'c'] # applying slicing to non-integers and non-ordinal content
We also looked at the deceptively simple shallow copy operation:
a[:]
and how it differs between mutable (list) and immutable (tuple) types.

And then we looked at the little-known builtin type 'Ellipsis' and how it can be used in your own programs.
  a[...]
a[..., 0] -> mapobj[:,:,:,0] # PyNumeric interpretation
In order to experiment with the various subscript/slicing syntaxes, we defined our own __getitem__, __setitem__ and __delitem__ methods to print out what was received:
  >>> class alpha:
... def __getitem__(self, key):
... print "Key is %s" % repr(key)
... return None
...
>>> a = alpha()
>>> a[3, 4. 5]
...

Next we took a little trip over to look at the issues and concerns involved in the simple idea of sorting items in a collection:

We studied the difference between the .sort() method and the sorted() builtin function, and the three arguments (cmpfn, key, reverse) you can pass to either one.

This also brought us into the operator module which has several useful functions for extracting values on which to sort from items, such as:
  key=operator.itemgetter(1)
key=operator.attrgetter('eggs')
and we talked about (but didn't dig into) the well-known design pattern of "decorate-sort-undecorate".
For the questions of "how would you do this?" we discussed:

  • How can you test for whether a variable is defined?

  • How do you tell if a method is bound or unbound?

  • How do you 'unbind' a method?

  • How do you set an attribute whose name is not a legal Python name?

  • How can you conditionally define methods in a class?

  • How do you change the data underneath a mutable sequence without breaking any existing bindings to the sequence itself? Hint: Look in site.py.


For the source code walkthrough we examined the implementation of the string Template class in lib/python/string.py. The interesting part was its use of a metaclass to post-process the extraction strings defined in the class into compiled regular expression objects.
And by special request by a member, we looked into how Python at startup arranges its module import path (sys.path) to find zip/eggs and parses 'path configuration files' (.pth) that alter that path. We also covered the privileged status of 'site' directories over other directories on the path and did a very quick walkthrough of the source in lib/python/site.py as well as the lib/python/site-packages/site.py installed by setuptools.
That filled our 3-hour session and we wrapped up with chatter about the rapidly approaching PyCon and the early registration deadline.

Sunday, February 8, 2009

pyCologne Python User Group, Cologne, Germany, February, 11th, Announcement

The next meeting of pyCologne will take place

Wednesday, February, 11th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Programming mobile phones using Python (Andreas Schreiber)
  • MoinMoin (Moin 1.8.x Wiki with stand-alone-server / plugins)
    (Reimar Bauer)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Monday, January 19, 2009

pyCologne Python User Group, Cologne, Germany, January 14th Notes

The Cologne Python User Group met at the computer centre of the University of Cologne. The meeting was attended by 14 people. German speakers might want to refer to our wiki page http://www.pycologne.de.

Announcements
Book-Presentations
  • Python for Unix and Linux System Administration (J. Jones, N. Gift) O'Reilly

    Python from the perspective of System-Administrators. How to create tools using python.

  • Exploring Python (Markus Nix (Hrsg.), Martin Grimme, Torsten Marek, Michael Weigend, Wolfgang Weitz) entwickler.press

    Attention: The book cover carries an English title. However, the text is in German. The book contains four essays about special Python topics, which are covered thoroughly: Generators, Objectoriented-Programming, gDesklets and "Python and the Java world".
This time we had two talks

Introduction Doug Hellmanns Python Module of The Week (PyMOTW-) series (RalfSchönian)
  • Doug Hellmann writes documentation for Python-Modules on a regular basis and organizes his articles by topics.
  • Additionally, topics can be found using an alphabetic index
  • PyMOTW is an ideal supplement to the Python standard library documentation because it covers certain topics in more detail.
  • There are some translations into other languages like Chinese and Spanish
  • Ralf has started a German translation which he puts on his own homepage for the moment. He invites people to take part and help out translating articles from PyMOTW.
Network- and Server-Programming with Python (KlausBremer)
  • Klaus offered a broad introduction to network-programming with Python. He covered different types of communication with increasing complexity, presenting sample programs as well as specific benchmark results.
  • Foundations of network-programming and the different layers: low-level, sockets, high-level (like: HTTP, FTP, etc.)
  • Presentation of an "echo"-server and its corresponding client using a socket-connection.
  • Introduction of the BaseHTTPServer, which is used as well by the Wiki-System MoinMoin.
  • Several techniques to increase responsiveness of servers by holding and processing many connections at a time:
    • ThreadingTCPServer: Using several threads for processing.
    • ForkingTCPServer: Using several processes instead of threads.
    • At this point, there developed a lively discussion among the participants about the implementation within the Standard-Libray. The Standard-Library delegates only the processing of received data to a thread or process. The reception even of large blocks of data still remains within the main thread/process.
  • Introduction of select() and poll() as methods to process network data from many connections asynchronously without the need to use several threads and processes.
  • As highlevel frameworks CherryPy and Twisted are named.
Please find the addtional information to this talk (in German language) here.

The minutes of the meeting in German language can be found here.

The next meeting will be held on, Wednesday, February, 11th.

We enjoyed the rest of the evening in our usual italian restaurant having food, drinks and friendly conversation.

Friday, January 9, 2009

pyCologne Python User Group, Cologne, Germany, January, 14th, Announcement

The next meeting of pyCologne will take place

Wednesday, January, 14th
starting about 6.30 pm - 6.45 pm
at Room 0.14, Benutzerrechenzentrum (RRZK-B)
University of Cologne, Berrenrather Str. 136, 50937 Köln, Germany

Agenda:
  • Network- and Server-Programming with Python (Klaus Bremer)
  • Presentation of Doug Hellmanns Python Module of The Week (PyMOTW-) - series (Ralf Schönian)
At about 8.30 pm we will as usual enjoy the rest of the evening in a nearby restaurant.

Further information including directions how to get to the location can be found at:
http://www.pycologne.de (Sorry, this page is in German only)

Wednesday, January 7, 2009

Omaha Python Users Group, January 7, Notes

Meeting/Talk Topics:
  • CherryPy and Adobe Flex (Jeff Hinrichs) - Jeff showed a standard CherryPy + Cheetah application that he used as a base and then how he integrated Adobe Flex for a spiffed up interface. A code walk through was given featuring the MXML used and the Flex Builder for Linux alpha
  • Wing IDE (Charles Kaminski) - Charles had a great presentation on the Wing IDE Charles ran a completely live presentation showing code intelligence, debugging and lots of other goodies that Wing has to offer Python programmers. It was such a good presentation that I am seriously considering buying it.
  • A number of people attending retold their stories of their first exposure to Python and how they get to use Python at work.

It was a great meeting. Charles brought up the idea of possibly finding a mid-town watering hole and having the meetings in a back room. So if anyone knows of a place that supports both libations and presentations in the mid-town area please let us know.

A partial list of other topics discussed include:

Sunday, January 4, 2009

pyCologne Python User Group, Cologne, Germany, Notes, September to December

Happy New Year to all!

First of all I apologize for not having posted the notes for the meetings of pyCologne from September to December. I have been bound to other commitments and had too little time left.

Therefore, I decided to cover our latest meetings (September to December) in one post:

September, 10th.:
  • Discussion of creating a pyCologne-Yearbook as a collection of all the talks held within the year. There has been a lively discussion about what to do and how: Creation of a leaflet with some of the most interesting talks, to give away at public events; creating a catalog of the talks using a standard template, creation of templates for slides (using REST S5). Since then, we have discussed and created a form within the German Python Wiki wich can be found at: http://wiki.python.de/User_Group_K%C3%B6ln/VorschlagVortragsTemplate
  • Günter Jantzen held a talk about Python 3.0 (alias Python 3000). Among other topics he covered changes of string-handling within Python. Python 3.0 does use Unicode-Strings as a Standard. Instead of the %-operator for formatting tasks the new format string-method is used. As marker for substitutions the curly-brackets {} are used. Furthermore, list-comprehension-like syntax is introduced for sets and dicts.
October, 8th:
  • Some new Python-books were introduced:
    • Expert Python Programming
    • Agile Software Development with Python
    • Das python Praxisbuch (Text in German)
  • Todays talks by Rebecca Breu and Ralf Schönian were dedicated to wxPython a Python GUI-Toolkit.
    • Rebecca gave a detailed overview of programming with wxPython introducing the concept of wx-Events and covering the main widgetes like static-text and entry field.
    • She concluded with a demomstration of the grid-widgets which allows to plugin self-written renderers and editors into the grid.
    • Ralf gave a presentation of his wxPython based vocabulary-trainer.
    • The book "wxPython in Action" was introduced.
November, 12th:
  • Today we had another talk within our GUI-series: pyGTK by Andi Albrecht:
    • Andi introduced the basics of pyGTK and the use of signals for the event-handling.
    • He gave an overview of the available documentation and introduced some widgets and layout-facilities aka. boxes.
    • Furthermore, he described the organisation of pyGTK in several modules and gave an overview about Glade the Interface-Designer for GTK.
    • The talk and the examples (in German) can be found at: http://wiki.python.de/User_Group_K%C3%B6ln/VortragPyGTKEinfuehrung
December, 10th:
  • Today we celebrated pyColognes second anniversary and had our christmas party. Many thanks to Uwe Döbereiner for offering his own rooms for the party. We enjoyed nice conversation, with food and drink supplied by all the members.
  • As a highlight of the evening Rebecca Breu gave a talk about the perfomance of Santa-Claus sleigh in comparison with the worlds best supercomputers and as well her own laptop :-).