os.system behavior when calling SQLPlus with spooling

2008-01-23 Thread steve551979
I'm trying to execute SQLPlus in python (on Redhat linux). when calling sqlplus, i'm referencing an sql file which spools results to a file, for e.g.: spool "/tmp/qctemp2.out"; SELECT %s FROM bug WHERE BG_BUG_ID = %s; spool off; exit; I'm noticing that when using: os.system("sqlplus -S -L %s @

Regular Expression help for parsing html tables

2006-10-28 Thread steve551979
Hello, I am having some difficulty creating a regular expression for the following string situation in html. I want to find a table that has specific text in it and then extract the html just for that immediate table. the string would look something like this: ...stuff here... ...stuff here...