Programmatic Parsing of ps

2011-02-09 Thread octopusgrabbus
I have Python 2.6.6. I would like to get this output ps -ef | grep 'fglgo csm' into a list. What is the best way to do that? I've been reading the documentation, and am lost. Thank you. cmn -- http://mail.python.org/mailman/listinfo/python-list

Re-installing 2.6.6 to build shared library

2011-02-04 Thread octopusgrabbus
In order to accommodate a mod_wsgi build problem, I need to have a Python shared library. What is the best way to re-install Python to do this? Many thanks. cmn -- http://mail.python.org/mailman/listinfo/python-list

Modifying Element In For List

2010-11-15 Thread octopusgrabbus
My question concerns elementary list and pass by reference: I've written a function which is passed a list that contains rows read from a csv file. The function traverses csv_rows, row by row, and inspects the first element in each row. The function tests for '', and if true, replaces that with a