Skip to main content


Showing posts from September, 2009

Run python inside python and capture output

This is taken from How to execute python inside python and capture output: A quick solution using popen : import os result=os.popen('command').read() print result where command is your command (expl. on windows: dir,ipconfig,...) If you expect more than a line and want each word in a list: import os,string result=string.split(os.popen('dir/w').read())


I found this poster on a the Scientist Creative Quartely page at UBC, I thought it was funny ! That's a remix of the trainspotting poster.

Songbird - Ubuntu Jaunty

I had some error while trying to launch songbird on ubuntu jaunty 32 bit. I found on a website that this package needs to be removed sudo apt-get remove libvisual-0.4-plugins libvisual is the plugin that displays some images while playing music in some music players like totem... I removed it from the system and I can now launch Songbird. Here is the error I was getting when running songbird: ./songbird *** glibc detected *** ././songbird-bin: double free or corruption (out): 0xb199ed60 *** ======= Backtrace: ========= /lib/tls/i686/cmov/[0xb7e55604] /lib/tls/i686/cmov/[0xb7e575b6] /usr/lib/[0xb1a7c141] /usr/lib/[0xb1a73407] /usr/lib/[0xb1a735e3] /usr/lib/[0xb1a82ec1] /usr/lib/gstreamer-0.10/[0xb267a273] /home/alchemist/apps/Songbird/lib/[0xb3556b2a] /home/alchemist/apps/So