def version_msg():
 python_version = sys.version[:3]
 location = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 message = u'Cookiecutter %(version)s from {} (Python {})'
 return message.format(location, python_version)

def version_msg ( ) : python_version = sys . version [ : 3 ] location = os . path . dirname ( os . path . dirname ( os . path . abspath ( __file__ ) ) ) message = u'Cookiecutter %(version)s from {} (Python {})' return message . format ( location , python_version )
returns the cookiecutter version .