Rick Ratzel 3/11/2004 This directory contains the presentation and demos for the talk entitled "Using Python as an Extension Language", shown at the PyCon D.C. 2004 Python conference. NOTE: the examples are have only been tested on REDHAT LINUX systems, and may not work on others (mainly because of the somewhat platform-specific Pico sources in ex2-C_Elmer). The following is a list of files and directories and a description: html - link to html dir, located in "presentation" dir ac - directory containing scripts for autoconf...check out the *.m4 files to see how to use the macros for detecting Python, elmer, and Tcl in your own configure.in files presentation - directory containing the presentation entitled "Using Python as an Extension Language" in both OpenOffice and html formats configfile - directory containing the Python source for demos 3 & 4 ex1-C - example 1 directory: Using Python in C ex2-C_Elmer - example 2 directory: Using Elmer to make Python in C easier ex3-C++_Elmer - example 3 directory: Using Elmer to run Python from C++ ex4-Tcl_Elmer - example 4 directory: Using Elmer to run Python from Tcl configure.in - use with "autoconf -l ac" to create configure script setPythonPath - sets the PYTHONPATH env var for all "warm" examples runconf - script which runs configure with settings specific to the author's environments Makefile.in - Makefile template used by configure configure - run this script with specific settings (if needed) to configure the example's to be built with a specific environment. This script must be run from the directory in which it resides. COPYRIGHT - Copyright and copying info The demos incorporate the work of others to illustrate some key points in the talk. The following software and the respective authors are listed below. num2eng.py was written by Miki Tebeka http://www.cs.bgu.ac.il/~tebeka/Software/num2eng.py piglatin.py was written by Joe Strout http://www.strout.net/info/coding/python/tidbits.html pico was written by Michael Seibel http://www.washington.edu/pine/getpine/unix.html All other code and presentation material was written by Rick Ratzel where the following copyright message applies: Copyright (c) 2004 Richard L. Ratzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.