Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return ListLoad TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return ListLoad TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str decorator_list decorator_list Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Call NameLoad Call NameLoad keyword NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Example of embedding a Python REPL, and setting a custom prompt.
 __future__ unicode_literals ptpython.repl embed ptpython.prompt_style PromptStyle pygments.token Token configure N/A N/A repl N/A N/A CustomPrompt N/A PromptStyle N/A in_tokens N/A N/A self cli N/A N/A N/A N/A N/A N/A Token In Input[ N/A N/A N/A Token In Number N/A %s N/A repl current_statement_index N/A N/A Token In ] >>:  N/A out_tokens N/A N/A self cli N/A N/A N/A N/A N/A N/A Token Out Result[ N/A N/A N/A Token Out Number N/A %s N/A repl current_statement_index N/A N/A Token Out ]:  N/A N/A N/A N/A N/A repl all_prompt_styles N/A custom N/A CustomPrompt N/A N/A repl prompt_style custom N/A main N/A N/A N/A N/A N/A N/A embed N/A globals N/A locals configure configure N/A N/A N/A __name__ __main__ N/A N/A N/A main