[Home]

Setting up Python


To be able to manipulate data files easily in python, as it would be done in octave or R, one first has to "install" Numpy, and Matplotlib. In ubuntu is easy and one can do it with apt-get install.
Another program which is useful is:
sudo apt-get install python-setuptools
With this installed it's easy to integrate python libraries, for example pymc:
easy_install pymc

X3DNA Parser Cheat Sheet


First start python
# python
Once in python invoke packages
import X3DNA
from X3DNA import PDBParser
Then just follow up the example in guide.pdf