Perl to Python

dj trombley badzen at yifan.net
Fri Dec 17 02:28:12 EST 1999


Amber Shao wrote:
> 
> Hi,
> 
> Does anyone know if there is a way to call  Python module from a Perl
> script?
> 
> thanks
> amber

You should simply start a Python interpreter from within the Perl
script, as you
would any other external interpreter or program.  If you want more
control, and you are 
somewhat more ambitious, you can write a C module for Perl which uses
the Python interface.

-dj

Dave Trombley
<badzen at yifan.net>



More information about the Python-list mailing list