[GNHLUG] PySIG this week. Thur 23rd August. Pexpect. Descriptors. Pysqlite.

Alex Hewitt hewitt_tech at comcast.net
Tue Aug 21 07:29:43 EDT 2007


On Mon, 2007-08-20 at 11:16 -0400, Bill Sconce wrote:
> PySIG
> ------------------------------------------------------------------------
> pexpect, presented by Alex Hewitt                         23 August 2007
> ------------------------------------------------------------------------
> 
> ___________________________________________________________________
> PySIG -- New Hampshire Python Special Interest Group
> Amoskeag Business Incubator, Manchester, NH
> 23 August 2007 (4th Thursday)   7:00PM
> 
> The monthly meeting of PySIG, the NH Python Special Interest Group,
> takes place fourth Thursdays, starting at 7:00 PM.  Beginners' 
> session precedes at 6:30 PM.  (Bring a Python question!)
> 
> -------------------------------------------------------------------
> pexpect, presented by Alex Hewitt
> -------------------------------------------------------------------
> Pexpect is a pure Python module for spawning child applications; 
> controlling them; and responding to expected patterns in their 
> output. Pexpect works like Don Libes' Expect.  Pexpect allows your
> script to spawn a child application and control it as if a human 
> were typing commands.
>     http://pexpect.sourceforge.net/

NB: The pexpect module is intended for use with UNIX/Linux systems. It
does not work with Windows platforms. It can be used from cygwin
installations with the correct setup which I will briefly explore during
the presentation.

-Alex

> 
> Plus:
> -------------------------------------------------------------------
> o Kent's Korner   The Real Stuff!  - Kent Johnson
>     This month: Descriptors
>         "...a descriptor is an object attribute with 'binding
>         behavior', one whose attribute access has been overridden
>         by methods in the descriptor protocol."
>             --Raymond Hettinger
>         (If that illuminates the subject for you as much as it
>         does for me you want Kent to explain it to you...  :)
>     Upcoming Kent's Korner topics:
>         XML parsing  (ElementTree)
>         HTML parsing  (BeautifulSoup)
>         Profiling (timeit, prof)
>   
> o Our usual roundtable of introductions, happenings, announcements.
>     - Lighting talk (time permitting): pysqlite  --Bill Sconce
> o Gotcha contest - bring your favorite "gotcha"
> 
> And of course, milk & cookies...
>   Cookies this month are oatmeal; a late-breaking rumour has it 
>     there's likely to be a small batch of chocolate-chip as well.
>   Tevya (bringer of milk) this month is Ray Côté (thanks, Ray!)
>   
> -------------------------------------------------------------------
> 6:30   Beginners' Q&A
> 7:00   Welcome, Announcements - Bill & Ted & Alex
> 7:10   Milk & Cookies - Ray Côté & Janet
> 7:15   Kent's Korner (Python Module of the Month)
> 8:00~  pysqlite (optional) - Bill
> 8:03~  pexpect - Alex
> 9:00~  Adjourn
> 
> ___________________________________________________________________
> About PySIG:
>     PySIG meetings are typically 10-20 people, around a large table
>     equipped with a projector, power, and Internet hookup (wired and
>     wireless).  We encourage laptops and 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,
>     Linux, or mainframes.  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 1304 2007-08-20 15:13:58Z sconce $    $Rev: 1304 $
> 
> _______________________________________________
> gnhlug-announce mailing list
> gnhlug-announce at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce/
> 
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/



More information about the gnhlug-discuss mailing list