def safe_version(version):
 return version.replace('.', '_')

def safe_version ( version ) : return version . replace ( '.' , '_' )
convert an arbitrary string to a standard version string spaces become dots .