To be able to conduct forcefield calculations with different dielectric constants. import os from openbabel import openbabel as ob file_path = fd.askopenfilename(title="Select Molecule File") ...