<s> """<STR_LIT>""" <EOL> import sys <EOL> ON_WINDOWS = '<STR_LIT:win32>' in str ( sys . platform ) . lower ( ) <EOL> try : <EOL> { } . iteritems <EOL> except AttributeError : <EOL> def iteritems ( data ) : <EOL> return data . items ( ) <EOL> else : <EOL> def iteritems ( data ) : <EOL> return data . iteritems ( ) <EOL> try : <EOL> xrange = xrange <EOL> except NameError : <EOL> xrange = range <EOL> try : <EOL> from StringIO import StringIO <EOL> except ImportError : <EOL> from io import StringIO <EOL> try : <EOL> from ConfigParser import ConfigParser <EOL> except ImportError : <EOL> from configparser import ConfigParser <EOL> try : <EOL> from pipes import quote as shellquote <EOL> except ImportError : <EOL> from shlex import quote as shellquote <EOL> try : <EOL> from Queue import Queue , Empty <EOL> except ImportError : <EOL> from queue import Queue , Empty <EOL> try : <EOL> from collections import OrderedDict <EOL> except ImportError : <EOL> from ordereddict import OrderedDict </s>
