title: Distribution independent libpython path
body: <p>Under newer Ubuntu/Debian versions, <code>libpython2.7.so</code> is under <code>/usr/lib/i386-linux-gnu/libpython2.7.so</code> or <code>/usr/lib/x86_64-linux-gnu/libpython2.7.so</code>, etc. Earlier, they could be found in <code>/usr/lib/libpython2.7.so</code>, no matter the architecture. I haven't checked for other distributions. How do I find the path of <code>libpython2.7.so</code> with python?</p>