Read molecule using python

Hi all,

I’m having trouble simply reading a molecule input file using Python. People
have seemed to have success using similar code, so I’m not sure what the
issue is.

import Avogadro
mol = Avogadro.MoleculeFile.readMolecule(’/home/skw57/test.xyz’)

This ends up producing an empty object. Any ideas? Thanks for your help!