running a program on many processors

2010-03-07 Thread Paweł Banyś
Hello, I have already read about Python and multiprocessing which allows using many processors. The idea is to split a program into separate tasks and run each of them on a separate processor. However I want to run a Python program doing a single simple task on many processors so that their cumula

Re: a problem with writing a generator

2010-01-15 Thread Paweł Banyś
I would like to thank you for help. With the advice you provided I managed to complete my program and now it is working as it should. Regards, Paweł -- http://mail.python.org/mailman/listinfo/python-list

Re: a problem with writing a generator

2010-01-14 Thread Paweł Banyś
> Assuming that include directives are like > > #include "blahblah" Yes, I have already tried the methods related to source code processing using Python generators but unfortunately I am dealing with BIND and its named.conf files. Regards, Paweł -- http://mail.python.org/mailman/listinfo/pyt

a problem with writing a generator

2010-01-14 Thread Paweł Banyś
Hello, Please forgive me if I repeat the subject anyhow. I am trying to write a simple program in Python which scans a config file in search for "include" lines. If those lines are found, the files included there are followed and scanned and if any further "include" lines are found, the whole proc