def get_txt_version():
try:<EOL><INDENT>with open("<STR_LIT>", "<STR_LIT:r>") as fp:<EOL><INDENT>return fp.read().strip()<EOL><DEDENT><DEDENT>except IOError:<EOL><INDENT>return None<EOL><DEDENT>
Get version string from version.txt.