Command of the week

To quickly test some web development stuff:

python -m SimpleHTTPServer

This serves the current directory on port 8000. Avoid that if you’re not firewalled, but on a local machine, that’s really practical for quick testing.

Matrices et Python

Une bien jolie matrice sous la main, et on aimerait bien trouver son inverse:

from numpy import *
from numpy.linalg import *
a=array([[ 2.34635649, -1.36700425,  2.62820772, -1.93379678],
       [-0.1883465 ,  0.24001098, -0.16084023,  0.06769621],
       [-0.45821679,  0.66405128, -0.93736998,  0.47861882],
       [-1.23335039,  0.54581151, -1.04212985,  1.05308756]])

 <a href="http://www.melaneum.com/blog/python/matrices-et-python#more-10" class="more-link">Continue reading <span class="meta-nav">&rarr;</span></a>