sbc has asked for the wisdom of the Perl Monks concerning the following question:
I have a python class and its functions, that I wish to use in perl. But do not know how to. I do not want to call a python.py script(like, using a system call). Instead, i want to be able to use the following:
in my perl script. I read about cpan Inline possibility, but do not want to install any pkgs. Any suggestion in this regard will help! Thanks.with classname as cname: cname.startup() cname.process(<args>) cname.shutdown()
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Embedding python objects in perl
by runrig (Abbot) on May 17, 2013 at 22:47 UTC | |
|
Re: Embedding python objects in perl
by davido (Cardinal) on May 18, 2013 at 00:12 UTC | |
|
Re: Embedding python objects in perl
by thomas895 (Deacon) on May 18, 2013 at 03:13 UTC | |
by Anonymous Monk on May 20, 2013 at 16:38 UTC | |
by sbc (Initiate) on May 20, 2013 at 16:41 UTC | |
|
Re: Embedding python objects in perl
by Anonymous Monk on May 17, 2013 at 23:16 UTC | |
|
Re: Embedding python objects in perl
by ambrus (Abbot) on May 21, 2013 at 11:35 UTC |