<s> """<STR_LIT>""" <EOL> import sys <EOL> import logging <EOL> import socket <EOL> def is_p3k ( ) : <EOL> value = sys . version_info [ <NUM_LIT:0> ] == <NUM_LIT:3> <EOL> return value <EOL> get_input = input <EOL> if is_p3k ( ) : <EOL> import configparser <EOL> import urllib . request as url_lib , urllib . error , urllib . parse <EOL> from io import StringIO <EOL> def iteritems ( d ) : <EOL> return iter ( d . items ( ) ) <EOL> def iternext ( iter ) : <EOL> return next ( iter ) <EOL> else : <EOL> get_input = raw_input <EOL> import ConfigParser as configparser <EOL> import urllib2 as url_lib <EOL> from cStringIO import StringIO <EOL> def iteritems ( d ) : <EOL> return d . iteritems ( ) <EOL> def iternext ( iter ) : <EOL> return iter . next ( ) <EOL> try : <EOL> from UserDict import IterableUserDict <EOL> except ImportError : <EOL> from collections import UserDict as IterableUserDict <EOL> try : <EOL> from configparser import ConfigParser <EOL> except ImportError : <EOL> from ConfigParser import ConfigParser <EOL> try : <EOL> from urllib . parse import urlparse <EOL> except ImportError : <EOL> from urlparse import urlparse </s>
