You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See http://bpython-interpreter.org/ for info, http://docs.bpython-interpreter.org/ for docs, and https://github.com/bpython/bpython for source.
63
+
See http://bpython-interpreter.org/ for more information and
64
+
http://docs.bpython-interpreter.org/ for docs.
66
65
Please report issues at https://github.com/bpython/bpython/issues
67
66
67
+
Features:
68
68
Try using undo ({config.undo_key})!
69
-
Edit the current line ({config.edit_current_block_key}) or the entire session ({config.external_editor_key}) in an external editor! (currently {config.editor})
69
+
Edit the current line ({config.edit_current_block_key}) or the entire session ({config.external_editor_key}) in an external editor. (currently {config.editor})
70
70
Save sessions ({config.save_key}) or post them to pastebins ({config.pastebin_key})! Current pastebin helper: {config.pastebin_helper}
71
-
Re-execute the current session and reload all modules ({config.reimport_key}) to test out changes to a module!
72
-
Toggle auto-reload mode ({config.toggle_file_watch_key}) to re-execute the current session when a module you've imported is modified!
71
+
Reload all modules and rerun session ({config.reimport_key}) to test out changes to a module.
72
+
Toggle auto-reload mode ({config.toggle_file_watch_key}) to re-execute the current session when a module you've imported is modified.
73
73
74
-
Use bpython-curtsies -i your_script.py to run a file in interactive mode (interpreter in namespace of script).
75
-
Use bpython-curtsies -t your_script.py to paste in the contents of a file, as though you typed them.
74
+
bpython -i your_script.py runs a file in interactive mode
75
+
bpython -t your_script.py pastes the contents of a file into the session
76
76
77
-
Use a config file at {config_file_location} to customize keys and behavior of bpython.
78
-
You can customize which pastebin helper to use and which external editor to use.
77
+
A config file at {config_file_location} customizes keys and behavior of bpython.
78
+
You can also set which pastebin helper and which external editor to use.
79
79
See {example_config_url} for an example config file.
80
80
Press {config.edit_config_key} to edit this config file.
81
81
"""
@@ -86,11 +86,14 @@
86
86
87
87
88
88
classFakeStdin(object):
89
-
"""Stdin object user code references so sys.stdin.read() asked user for interactive input"""
89
+
"""The stdin object user code will reference
90
+
91
+
In user code, sys.stdin.read() asks the user for interactive input,
92
+
so this class returns control to the UI to get that input."""
0 commit comments