Professional Web Applications Themes

interfacing with Python using Perl - PERL Beginners

I don't know Python and I really have no desire to learn it, but I do have a decent amount of experience with Perl. Is there a module(s) that will let Perl interface with existing Python code/modules? Specifically, I want to write a Perl program to use Gentoo Linux's Portage API which is written all in Python. -- Andrew Gaffney System Administrator Skyline Aeronautics, LLC. 776 North Bell Avenue Chesterfield, MO 63005 636-357-1548...

  1. #1

    Default interfacing with Python using Perl

    I don't know Python and I really have no desire to learn it, but I do have a decent amount
    of experience with Perl. Is there a module(s) that will let Perl interface with existing
    Python code/modules? Specifically, I want to write a Perl program to use Gentoo Linux's
    Portage API which is written all in Python.

    --
    Andrew Gaffney
    System Administrator
    Skyline Aeronautics, LLC.
    776 North Bell Avenue
    Chesterfield, MO 63005
    636-357-1548

    Andrew Gaffney Guest

  2. #2

    Default Re: interfacing with Python using Perl

    On Jan 23, Andrew Gaffney said:
    >I don't know Python and I really have no desire to learn it, but I do
    >have a decent amount of experience with Perl. Is there a module(s) that
    >will let Perl interface with existing Python code/modules? Specifically,
    >I want to write a Perl program to use Gentoo Linux's Portage API which is
    >written all in Python.
    I believe you can do just that with Inline::Python, on CPAN.

    [url]http://search.cpan.org/author/NEILW/Inline-Python-0.20/Python.pod[/url]

    It's from 2001, though... just so you know...

    --
    Jeff "japhy" Pinyan [email]japhypobox.com[/email] [url]http://www.pobox.com/~japhy/[/url]
    RPI Acacia brother #734 [url]http://www.perlmonks.org/[/url] [url]http://www.cpan.org/[/url]
    <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
    [ I'm looking for programming work. If you like my work, let me know. ]

    Jeff 'Japhy' Pinyan Guest

  3. #3

    Default Re: interfacing with Python using Perl

    Jeff 'japhy' Pinyan wrote:
    > On Jan 23, Andrew Gaffney said:
    >
    >
    >>I don't know Python and I really have no desire to learn it, but I do
    >>have a decent amount of experience with Perl. Is there a module(s) that
    >>will let Perl interface with existing Python code/modules? Specifically,
    >>I want to write a Perl program to use Gentoo Linux's Portage API which is
    >>written all in Python.
    >
    >
    > I believe you can do just that with Inline::Python, on CPAN.
    >
    > [url]http://search.cpan.org/author/NEILW/Inline-Python-0.20/Python.pod[/url]
    >
    > It's from 2001, though... just so you know...
    It still looks promising. I'll have to learn a tad of Python, but not much more than the
    syntax for importing functions and classes. Thanks.

    --
    Andrew Gaffney
    System Administrator
    Skyline Aeronautics, LLC.
    776 North Bell Avenue
    Chesterfield, MO 63005
    636-357-1548

    Andrew Gaffney Guest

Similar Threads

  1. Question is there a python module for perl
    By Unregistered in forum Brainstorming Area
    Replies: 0
    Last Post: November 12th, 01:02 AM
  2. Replies: 0
    Last Post: April 26th, 08:55 PM
  3. using perl interpreter interactively like python?
    By Jeff Kowalczyk in forum PERL Beginners
    Replies: 4
    Last Post: November 20th, 08:52 PM
  4. Embedded Perl or Python (XPost)
    By Cameron Laird in forum PERL Miscellaneous
    Replies: 6
    Last Post: September 7th, 05:37 PM
  5. PHP, Perl or Python
    By MT in forum Macromedia Dreamweaver
    Replies: 2
    Last Post: July 17th, 11:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139