PySIG Manchester, NH 22 January 2009 ------------------------------------------------------------------------ Building a Python 3.0 Extension, presented by Arc Riley Kent's Korner: Context Managers and the with'statement ------------------------------------------------------------------------
____________________________________________________________________ PySIG -- New Hampshire Python Special Interest Group Amoskeag Business Incubator, Manchester, NH 22 January 2009 (4th Thursday) 7:00PM (Beginner's Q&A at 6:30PM) The monthly meeting of PySIG, the NH Python Special Interest Group, takes place on the fourth Thursday of the month, starting at 7:00 PM. A beginners' session precedes, at 6:30 PM. (Bring a Python question!) Favorite-gotcha contest; Kent's Korner; Janet's cookies (some of them JBD safe!); and more this month. ____________________________________________________________________ Building a Python 3.0 Extension Presented by Arc Riley o The missing PyModule_* functions o Bookmarks you will need o Handy macros you'll use everywhere o An actual example (source code & batteries included) _______________________________________________________________________ Kent's Korner: Context managers and the 'with' statement "A common need in programming is to guarantee some kind of cleanup after a block of code is run; for example, closing a file or database connection after use. The usual way to do this in Python prior to version 2.5 is with a try / except block..." [There's a better way, much more robust, and what's really important, easier. -ed] Plus: ------------------------------------------------------------------- o Our usual roundtable of introductions, happenings, announcements o Data Types VIII - (Running PySIG joke :) o Gotcha contest - Got a favorite "gotcha"? Bring it and share... And of course, milk, & cookies. This month: Oatmeal, with and w/o chocolate (you know who you are) ------------------------------------------------------------------- 6:30 Beginners' Q&A 7:00 Welcome, Announcements - Bill & Ted & Alex 7:10 Cookies & Milk - Janet & Ray (thanks, Ray!) 7:15 Favorite-gotcha contest 7:20 Impromptu lightning talk(s) - anyone 7:30 Kent's Korner -- Context managers and the 'with' statement 8:00 Building a Python 3.0 Extension presented by Arc Riley 8:45 Open discussion; plans for next time 9:00~ Adjourn ___________________________________________________________________ About PySIG: PySIG meetings are typically 10-20 people, around a large table equipped with a projector and Internet hookups (wired and wireless). We encourage laptops and a hands-on seminar style. The main meeting starts at 7 PM; officially we finish circa 9 PM. Everyone is welcome. ("Membership" is anyone who has an interest in the Python progamming language, whether on Microsoft systems or Linux or OS X; or cell phones, mainframes, or space stations. We have everyone from object-oriented gurus to recovering COBOL programmers.) Tell your friends! Beginners' session: The half hour before the formal meeting (i.e., starting at 6:30PM) we have a beginners' session. Any Python question is welcome -- whoever asks the first question gets the half hour! Questions are equally welcome by mail beforehand (in which case we can announce them) or at the meeting. (As are all Python questions, anytime.) Mailing list: http://www.dlslug.org/mailman/listinfo/python-talk About Python: "Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report substantial productivity gains and feel the language encourages the development of higher quality, more maintainable code." "NASA uses Python...so does Rackspace, Industrial Light&Magic, AstraZeneca, Honeywell, and many others." Google: "Python has been an important part of Google since the beginning, and remains so as the system grows and evolves." -Peter Norvig http://www.python.org About Amoskeag Business Incubator: Our gracious hosts are the Amoskeag Business Incubator, an organization providing a supportive entrepreneurial environment that stimulates the growth of businesses to ensure economic vitality and encourage job creation, by providing affordable office space and technical assistance to early stage companies. PySIG thanks the ABI for their generous hospitality. http://www.abi-nh.com _______________________________________________________________________ Directions: PySIG NH meetings are held at the Amoskeag Business Incubator, 33 South Commercial Street, Manchester, NH. Coming in to Manchester using I-293, from the north: o Use Exit 5 ("Granite Street") from I-293. Stay to the left at the bottom of the ramp, to turn left (east). Go under I-293 and cross the bridge over the Merrimack River. Coming in to Manchester using I-293, from the south: o Use the Granite Street exit. Turn right (east). Go under I-293 and cross the bridge over the Merrimack River. After crossing the bridge: o Turn right (south) at the first light. This is South Commercial Street. o Go past one parking-lot entrance, turn right into the second one. 33 Commercial Street will be right in front of you. You may go in via either the ramp or the door and up three steps inside. o Inside. Up the stairs if via the door. Go through the glass doors - follow the diamonds on the floor. Go left at the last diamond. (Under a sign which says "<- Amoskeag Small Bus. Incubator"). o More diamonds, another sign... much glass and office space for SNHU; turn left there, 4 more diamonds and you're at the glass doors for the Incubator. An "abi" sign is above. o Through the doors, straight down the hall. The ABI Conference Room is on the left. ________________________________________________________________________ $URL: svn://svn.in-spec-inc.com/isi/trunk/isi/opages/pysig.announcement $ $Id: pysig.announcement 3285 2009-01-22 17:03:23Z sconce $ $Rev: 3285 $ _______________________________________________ gnhlug-announce mailing list gnhlug-annou...@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce/ _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/