Inline::Python

Write Perl subs and classes in Python
Download

Inline::Python Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stefan Seifert
  • Publisher web site:
  • http://search.cpan.org/~nine/

Inline::Python Tags


Inline::Python Description

Write Perl subs and classes in Python Inline::Python is a Perl module that allows you to put Python source code directly "inline" in a Perl script or module. It sets up an in-process Python interpreter, runs your code, and then examines Python's symbol table for things to bind to Perl. The process of interrogating the Python interpreter for globals only occurs the first time you run your Python code. The namespace is cached, and subsequent calls use the cached version.This document describes Inline::Python, the Perl package which gives you access to a Python interpreter. For lack of a better place to keep it, it also gives you instructions on how to use perlmodule, the Python package which gives you access to the Perl interpreter.SYNOPSIS print "9 + 16 = ", add(9, 16), " "; print "9 - 16 = ", subtract(9, 16), " "; use Inline Python => Requirements: · Perl


Inline::Python Related Software