<s> import threading <EOL> import code <EOL> import pydle <EOL> from . import _args <EOL> def main ( ) : <EOL> client = _args . client_from_args ( '<STR_LIT>' , description = '<STR_LIT>' ) <EOL> thread = threading . Thread ( target = client . handle_forever ) <EOL> thread . start ( ) <EOL> if client . connected : <EOL> interp = code . InteractiveConsole ( { '<STR_LIT>' : client } ) <EOL> interp . interact ( '<STR_LIT>' . format ( name = pydle . __name__ , ver = pydle . __version__ ) ) <EOL> client . quit ( ) <EOL> thread . join ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
