[Tutor] calling perl from python code

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Jun 20 10:41:23 CEST 2005

On Mon, 20 Jun 2005, Shuying Wang wrote:

> Can anyone recommend a library that will let me call perl functions from
> python? I have a python dictionary that I would like to convert to a
> perl hash for some function.

Hi Shuying,

Sure!  You may want to look at the PyPerl project:


The module acts as a bridge between the two langauges, so it should be
relatively easy to convert Python dictionaries to Perl hashes and pass
them back and forth.

Best of wishes!

More information about the Tutor mailing list