Integrating awk in Python

Terry Reedy tjreedy at
Fri Jan 16 17:25:32 CET 2009

Willi Richert wrote:
> Hi,
> take a look at the 5th link at
> It's called pyawk.

Stupid link wanting to set yet another useless cookie.  Answer will not 
always be 5th.
Just say 'Google pyawk' or better give link

> Am Freitag, 16. Januar 2009 13:02:59 schrieb Alfons Nonell-Canals:
>> Hello,
>> I'm developing a software package using python. I've programmed all
>> necessary tools but I have to use other stuff from other people. Most of
>> these external scripts are developed using awk.
>> At the beggining I thought to "translate" them and program them in
>> python but I prefer to avoid it because it means a lot of work and I
>> should do it after each new version of this external stuff. I would like
>> to integrate them into my python code.
>> I know I can call them using the system environment but it is slower
>> than if I call them inside the package. I know it is possible with C, do
>> you have experience on integrate awk into python calling these awk
>> scripts from python?

More information about the Python-list mailing list