Better yet, do it in Applescript!
do shell script "python –m SimpleHTTPServer"
(No idea if this will work, there's probably some stupid restriction somewhere).
do shell script "python –m SimpleHTTPServer"
(No idea if this will work, there's probably some stupid restriction somewhere).
edit: now that I think about it, I did use "bitbar" for a while which is actually a little bit more powerful still. I can't find it any more but this looks similar - https://github.com/matryer/xbar#get-started