[Pythonmac-SIG] An Odd Question...

Richard Gordon maccgi@bellsouth.net
Tue, 6 Jul 1999 20:41:38 -0400


OK, I will risk being branded the list idiot if you will be patient 
enough to hear me out. What I want to know is whether it is possible 
to embed Perl in Python, Mac or otherwise? Or maybe I am just talking 
about calling Perl scripts from executing Python scripts?

To answer the "why the hell would anyone want to do that?" question, 
I know more Perl than Python and have Perl running on web sites that 
people paid me $$$ to do. I don't actually hate Perl, but I prefer 
Python, and would like to migrate at least one of these to an 
all-Python system eventually so I can get someone to pay me $$$ to do 
a Python site. Not too surprisingly, I haven't found anything that 
will do something like a batch migration and nobody is going to pay 
me to reinvent the wheel, so this will have to be done over a period 
of time at my own expense (all the while overcoming the resistance of 
webmasters who are suspicious of Python because "there aren't many 
other Python programmers around here (Atlanta)."

Additionally, I understand regex in Perl a lot better than I do in 
Python and, to this point at least, it appears to me that Perl's 
regex is stronger. Offsetting that entirely is the culture of the 
Perl community vs. the Python community, but it would still be nice 
to use some Perl selectively.

Anyway, I hope that this isn't an overwhelmingly absurd question and, 
given the predominance of Perl in web things, I wouldn't think that 
I'm the first one to wonder about it. What I'm looking for is some 
general guidance about Python/Perl integration under both MacOS and 
*nix. Thanks.

Richard Gordon
--------------------
Gordon Consulting & Design
Database Design/Scripting Languages
mailto:richard@richardgordon.net
http://www.richardgordon.net
770.971.6887 (voice)
770.216.1829 (fax)