IAEA phase space as source

I am new to Geant4 and to C++, Python background. I am trying to set up a simple application to use a IAEA phase space as the particle source and deliver it to a cube of water (medical application). I have tried to adapt the example N01 and the newer B4 as here http://hypernews.slac.stanford.edu/HyperNews/geant4/get/medical_app/308.html but cannot make the application no matter what I try.
Does anyone have a working example that they would be able to share with me?