import os
from mol.util import read_xyz

dirname = os.path.dirname(os.path.abspath(__file__))
filename = os.path.join(dirname, 'look_and_say.dat')

with open(filename, 'r') as handle:
	look_and_say = handle.read()

def get_molecule(filename):
	return read_xyz(os.path.join(dirname, filename + ".xyz"))

[((105, 146), 'os.path.join', 'os.path.join', (['dirname', '"""look_and_say.dat"""'], {}), "(dirname, 'look_and_say.dat')\n", (117, 146), False, 'import os\n'), ((67, 92), 'os.path.abspath', 'os.path.abspath', (['__file__'], {}), '(__file__)\n', (82, 92), False, 'import os\n'), ((260, 300), 'os.path.join', 'os.path.join', (['dirname', "(filename + '.xyz')"], {}), "(dirname, filename + '.xyz')\n", (272, 300), False, 'import os\n')]