def getAppExt(loops=0):
 bb = '!\xff\x0b'
 bb += 'NETSCAPE2.0'
 bb += '\x03\x01'
 if (loops == 0):
  loops = ((2 ** 16) - 1)
 bb += intToBin(loops)
 bb += '\x00'
 return bb

def getAppExt ( loops = 0 ) : bb = '!\xff\x0b' bb += 'NETSCAPE2.0' bb += '\x03\x01' if ( loops == 0 ) : loops = ( ( 2 ** 16 ) - 1 ) bb += intToBin ( loops ) bb += '\x00' return bb
application extention .