Skip navigation.
Freedom is contagious.

GatorLUG Meeting | 2011-06-15 | 6-8pm | Leveraging Linux Libraries with Python | Jim Wilson

Jun 15 2011 6:00 pm
Jun 15 2011 8:00 pm
America/New York

GatorLUG Meeting Agenda for June, 15 2011

6:00 - 6:30 Announcements / General Discussion

6:30 - 7:30 Leveraging Linux Libraries with Python | Jim Wilson

A Linux distribution is equipped with robust libraries to support a wide array of day-to-day operations: networking, system administration, graphics, user input, etc. Alas, these libraries are meant to be used by programs written in C, the efficient, but now somewhat quaint, low-level language of the Linux kernel itself.

Python is a popular high-level language incorporating memory management, strong type checking, dynamic free-form arrays, string manipulation, etc. Unlike some other approaches (C++, Java), it adds capabilities while simplifying the syntax. Python is actually easier to learn than C.

Python's "batteries included" philosophy marries the ability to write in a high-level language with those efficient, time-tested system libraries. That is, Python includes "interfaces" which allow the C libraries to be called from Python.

Jim Wilson will survey tools and techniques a programmer can use to write such interfaces and give a concrete example of the one all the cool kids are using: Ctypes, a built-into-Python way to call shared libraries (called Dynamic-Link Libraries in less-robust operating systems).

7:30 - 8:00 Open discussion, meet and greet someone new

The Laboratory | 818 W University Ave., Suite C. Gainesville, FL, 32601
gl.py_.txt1.98 KB
mt.py_.txt11.87 KB