Re: Integrating awk in Python

2009-01-16 Thread Python Nutter
If you or anyone who reads the thread is interested in using Python in an advanced way you use generators and build processing chains that will take the performance of Python to the edge and even give old AWK a run for its money for certain types of processing. Python: wwwlog = open("access-lo

Re: Integrating awk in Python

2009-01-16 Thread Grant Edwards
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 thoug

Re: Integrating awk in Python

2009-01-16 Thread mk
Alfons Nonell-Canals wrote: 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. That's kind of

Re: Integrating awk in Python

2009-01-16 Thread Terry Reedy
Willi Richert wrote: Hi, take a look at the 5th link at http://tinyurl.com/7s8kfq 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 http://pyawk.sourceforge.net/ Am Freitag, 16. Januar 2009

Re: Integrating awk in Python

2009-01-16 Thread Willi Richert
Hi, take a look at the 5th link at http://tinyurl.com/7s8kfq It's called pyawk. Regards, wr 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

Integrating awk in Python

2009-01-16 Thread 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 bec