From: Ken S. <ksi...@tt...> - 2001-10-02 21:49:09
|
PyInline 0.03 ------------- The PyInline module allows you to put source code from other programming languages directly "inline" in a Python script or module. The code is automatically compiled as needed, and then loaded for immediate access from Python. PyInline is the Python equivalent of Brian Ingerson's Inline module for Perl (http://inline.perl.org). What's New in 0.03? ------------------- PyInline 0.03 provides Python 2.0 compatibility, an improved and simplified API, better parsing, and a much improved foundation for adding support for languages other than C. The new syntax is much cleaner: import PyInline m = PyInline.build(code=r""" #include <stdio.h> void ja(char *str) { printf("Just another %s hacker\n", str); } """, language="C") m.ja("Inline") Availability ------------ PyInline is maintained on SourceForge at http://sourceforge.net/projects/pyinline TTUL Ken -- Connect wirelessly at your favourite cafe with FatPort Network. http://www.FatPort.com -- Secure, Accountable Wireless |