def run_ptpython_shell(globals, locals): # Use the default ptpython history history_filename = get_ptpython_history_file() ptpython_embed(globals=globals.copy(), locals=locals.copy(), history_filename=history_filename, configure=run_config)
def run_ptpython_shell(globals, locals): # Use the default ptpython history import os history_filename = os.path.expanduser('~/.ptpython_history') ptpython_embed(globals.copy(), locals.copy(), history_filename=history_filename, configure=run_config)
def run_ptpython_shell(locals, globals, first_time): # Use the default ptpython history import os history_filename = os.path.expanduser('~/.ptpython_history') ptpython_embed(globals.copy(), locals.copy(), history_filename=history_filename)
def run_ptpython_shell(globals, locals): # Use the default ptpython history import os history_filename = os.path.expanduser('~/.ptpython/history') ptpython_embed(globals=globals.copy(), locals=locals.copy(), history_filename=history_filename, configure=run_config)