Might need to get more into python. I was fiddling around with it in the wrong way i suppose.

I'll have a go on wednesday.

Cheers!

]]>https://bbs.archlinux.org/profile.php?id=454122013-02-11T20:16:29Zhttps://bbs.archlinux.org/viewtopic.php?pid=1230538#p1230538Since output of pacman -Qi is separated by an empty line, you can split the resulting output by

]]>https://bbs.archlinux.org/profile.php?id=302442013-02-11T19:47:02Zhttps://bbs.archlinux.org/viewtopic.php?pid=1230519#p1230519I get a large swab of output from pacman -Qi. This output is piped using subprocess and converted to a string using str.decode. This all works.

But then I would like to be able to cut a a block related to one package out of that large swap of output, like this: