From: Bill Sconce Subject: [GNHLUG] PySIG, October 2008 -- Sphix, unittest, more Date: Wednesday, October 22, 2008 11:27:26 AM PySIG Manchester, NH 23 October 2008 ------------------------------------------------------------------------ Sphinx, presented by Arc Riley Kent's Korner: unittest ------------------------------------------------------------------------ ____________________________________________________________________ PySIG -- New Hampshire Python Special Interest Group Amoskeag Business Incubator, Manchester, NH 23 October 2008 (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; a special Kent's Korner; Janet's cookies (JBD safe!); and more this month. ____________________________________________________________________ Sphinx, presented by Arc Riley A ReStructuredText-based markup framework "Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects, written by Georg Brandl and licensed under the BSD license. "It was originally created to translate the new Python documentation, but has now been cleaned up in the hope that it will be useful to many other projects. "Although it is still under constant development, the following features are already present, work fine and can be seen 'in action' in the Python docs: * Output formats: HTML (including Windows HTML Help) and LaTeX, for printable PDF versions * Extensive cross-references: semantic markup and automatic links for functions, classes, glossary terms and similar pieces of information * Hierarchical structure: easy definition of a document tree, with automatic links to siblings, parents and children * Automatic indices: general index as well as a module index * Code handling: automatic highlighting * Extensions: automatic testing of code snippets, inclusion of docstrings from Python modules, and more "Sphinx uses reStructuredText as its markup language, and many of its strengths come from the power and straightforwardness of reStructuredText..." "The major theme of Python 2.6 is preparing the migration path to Python 3.0, a major redesign of the language. Whenever possible, Python 2.6 incorporates new features and syntax from 3.0 while remaining compatible with existing code by not removing older features or syntax. When it's not possible to do that, Python 2.6 tries to do what it can, adding compatibility functions in a future_builtins module and a -3 switch to warn about usages that will become unsupported in 3.0." http://sphinx.pocoo.org/ Plus: ------------------------------------------------------------------- o Our usual roundtable of introductions, happenings, announcements o Data Types VII - (Running PySIG joke :) o Gotcha contest - Got a favorite "gotcha"? Bring it and share... And of course, milk, & cookies. This month: Janet's 1) glazed maple pecan ("special" ../me); 2) molasses ginger; 3) "assorted meringues--if they don't fail" ------------------------------------------------------------------- 6:30 Beginners' Q&A 7:00 Welcome, Announcements - Bill & Ted & Alex 7:10 Cookies & Milk - Janet & Alex (thanks, Alex!) 7:15 Favorite-gotcha contest 7:20 Impromptu lightning talk(s) - anyone 7:30 Kent's Korner -- unittest: Unit Testing in Python 8:00 Sphinx, ReST-based markup framework 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 (thanks to Ted Roche for improvements to "from the north"): 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 6 from I-293. Stay to the right on the ramp, yield twice to traffic incoming from the left, cross back over I-293 and accept one merge coming in from your right. o Then get in the right lane, and stay there, over the river, and onto the Canal Street exit ramp. o Take the first right off Canal Street onto North Commercial Street. Enjoy the scenic mill buildings as the street turns into Commercial Street. o Coming to the traffic light get in the middle lane. South Commercial Street starts on the other side of the light. You go straight through (and join the folks coming from the south at step * below). 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. o Turn right (south) at the first light after crossing the bridge. * This is South Commercial Street. 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 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 3132 2008-10-22 15:23:56Z sconce $ $Rev: 3132 $ _______________________________________________ gnhlug-announce mailing list gnhlug-announce@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce/