Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- George Mpouras
September 20, 2013, 3:31 pm
rate this thread
Have you tried writing a Perl script that calls the Python script?
Does the Python script return data values? Perhaps it writes to an output f
ile that you can open and munge in Perl.
You can also try writing a shell script that (1) runs the Python script, (2
) saves the output in a particular place, and (3) runs the Perl script that
accepts the output as input.
I find that Perl and Python are good at different things. Ideally, you shou
ld use the same language for the same task, just as a matter of sanity, rew
riting as necessary in the language you choose. However, I don't object to
having a process that uses different languages to handle different parts, a
nd I have some processes that use Perl, ColdFusion, Visual Basic, and even
Transact/SQL (Microsoft DTS) for different parts.