def AddArch(output, arch):
 (output, extension) = os.path.splitext(output)
 return ('%s.%s%s' % (output, arch, extension))

def AddArch ( output , arch ) : ( output , extension ) = os . path . splitext ( output ) return ( '%s.%s%s' % ( output , arch , extension ) )
adds an arch string to an output path .