filter_comments

psi4.driver.filter_comments(string)[source]

Remove from string any Python-style comments (‘#’ to end of line).