I write script which needs to know atomic mass of tin. Is there a python database which has such info?
Edit:
periodictable
is nice, but some libs are more rich in data. For example gperiodic
program.
You could have simply googled before asking. But anyway, you might find this useful: http://pypi.python.org/pypi/periodictable. Below is an example straight out of the page.
>>> from periodic import element
>>> hydrogen = element('hydrogen')
>>> hydrogen.mass
1.0079