Skip to content

Tag: text-extraction

Extract Number of pages from a text column

I have a text column which contains comments like: 6 pages, LaTeX, no figures 19 pages, latex, 4 figures as uuencoded postscript files Invited Talk at the “VII Marcel Grossman Meeting on General Relativity” – Stanford, July 1994. 14 pages, latex, five figures, which will be available upon re…

python: print a single column using field separator

I am beginner with python. From a log, I want with a python to extract only the hostname that are located in the middle of each line line ( between “command_wrappers INFO:” and “: pg_receivewal: switched to timeline”) in order to lauch a command to each of thoses servers. Here are the …