 import code <EOL> import os <EOL> import click <EOL> @ click . command ( help = "<STR_LIT>" ) <EOL> @ click . option ( '<STR_LIT>' , is_flag = True ) <EOL> def shell ( no_startup = False ) : <EOL> """<STR_LIT>""" <EOL> imported_objects = { } <EOL> try : <EOL> import readline <EOL> except ImportError : <EOL> pass <EOL> else : <EOL> import rlcompleter <EOL> readline . set_completer ( rlcompleter . Completer ( imported_objects ) . complete ) 
 readline . parse_and_bind ( "<STR_LIT>" ) 
 import code <EOL> import os <EOL> import click <EOL> @ click . command ( help = "<STR_LIT>" ) <EOL> @ click . option ( '<STR_LIT>' , is_flag = True ) <EOL> def shell ( no_startup = False ) : <EOL> """<STR_LIT>""" <EOL> imported_objects = { } <EOL> try : <EOL> import readline <EOL> except ImportError : <EOL> pass <EOL> else : <EOL> import rlcompleter <EOL> readline . set_completer ( rlcompleter . Completer ( imported_objects ) . complete ) <EOL> readline . parse_and_bind ( "<STR_LIT>" ) <EOL> if not no_startup : <EOL> for pythonrc in ( os . environ . get ( "<STR_LIT>" ) , '<STR_LIT>' ) : <EOL> if not pythonrc : <EOL> continue <EOL> pythonrc = os . path . expanduser ( pythonrc ) <EOL> if not os . path . isfile ( pythonrc ) : <EOL> continue <EOL> try : <EOL> with open ( pythonrc ) as handle : <EOL> exec ( compile ( handle . read ( ) , pythonrc , '<STR_LIT>' ) , imported_objects ) <EOL> except NameError : <EOL> pass <EOL> code . interact ( local = imported_objects ) </s>
