Using perl in python

Ashish Goyal ashishg at pobox.com
Mon Jun 21 07:40:40 EDT 1999


hi,
    try and use swig (www.swig.org) - that is an interface generator that i
had come across some time back. Since i don't remember things clearly,  it
might not be able to glue python and perl together (i used it to glue C and
python code).

Good luck
ashish

"Michael P. Reilly" wrote:

> Brenda <bbailey08 at my-deja.com> wrote:
> : I have a bunch of perl libraries that I would like to call in my python
> : scripts.  Is this possible?
>
> It is possible;  Tkinter utilizes an embedded Tk interpreter.  You
> would have to write a Perl interpreter.  There may be some people
> around who might help you with that.  I'm in the middle of embedding
> another interpreter myself.
>
> I've found that it is more efficient (and more fun) to convert the
> libraries to Python.  The code is invariably clearer.
>
>   -Arcege





More information about the Python-list mailing list