Skip to main content

Posts

Showing posts from September, 2008

Correcting those banner ads

Installing Eric4

Eric4 is more involved to install than SPE.

Install SIT
ftp http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.7.7.tar.gz
python configure.py
make
sudo make install

Install PyQT
ftp http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.4.3.tar.gz
python configure.py
make
sudo make install

Install QScintilla
ftp http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/QScintilla-gpl-2.3.tar.gz
cd Qt4
qmake qscintilla.pro
make
sudo make install
Now make the Qsci module
cd ../python
python configure.py
make
sudo make install

Now install Eric
sudo python install.py

Installing SPE

Install wxPython mac OS dmg
Grab spe from subversion:
svn checkout svn://svn.berlios.de/python/spe/trunk/_speSPE runs right off the bat. The things I didn't like

Small interface bugs involving the side panels.Somewhat kludgy editor font handling (if you switch from the default courier font)Somewhat unresponsive Otherwise it has what I need - code intelligence, code completion, syntax highlighting.

Where to post code snippets on line

As I've been learning python and using it more and more in my analysis work I've
been wondering where I can go to post and find code snippets for python. A
central file exchange, much like matlab's file exchange, would be great.

I'm thinking of a very streamlined, blog like interface, where you log in,
upload a bunch of .py files and then write a little description of what the code
does and add some tags to it.

I asked this question on the matplotlib mailing list and got the following pointers to snippet repositories:

Activestate (from Michael Droettboom)
Snipplr (from Derek Hohls)

Eye painting

Plot of my eye movements as I fixate on points appearing on a uniform screen. Data obtained using an infrared eyetracker (Eyelink 1000)