Thank u for ur response regarding the " return", now it is working.
I am facing another issue , while running total_energy.py
line 20, in <module>
import pylab
File "./build/atkpython/lib/python2.6/site-packages/pylab.py", line 1,
in <module>
File "./build/atkpython/lib/python2.6/site-packages/matplotlib/pylab.py", line 220,
in <module>
File "./build/atkpython/lib/python2.6/site-packages/matplotlib/mpl.py", line 3,
in <module>
File "./build/atkpython/lib/python2.6/site-packages/matplotlib/axes.py", line 8462,
in <module>
File "./build/atkpython/lib/python2.6/site-packages/matplotlib/axes.py", line 8454,
in subplot_class_factory
AttributeError: 'module' object has no attribute 'classobj'
please help me to solve this issue
kala