import re,sys print re.search('VERSION = "([^"]+)',open(sys.argv[1]).read()).group(1)