From 906feb79ba54fde2b0635c321c659922559779f3 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 26 May 2018 21:42:02 -0400 Subject: Fixed conditional.py script Also: - Made self.locals_in_py = True for main.py and examples/python_scripting.py - This makes debugging easier in the embedded IPython shell provided by the opt-in ipy command --- examples/python_scripting.py | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/python_scripting.py') diff --git a/examples/python_scripting.py b/examples/python_scripting.py index 7e2cf345..fd2d7e8f 100755 --- a/examples/python_scripting.py +++ b/examples/python_scripting.py @@ -28,6 +28,7 @@ class CmdLineApp(cmd2.Cmd): super().__init__(use_ipython=True) self._set_prompt() self.intro = 'Happy 𝛑 Day. Note the full Unicode support: 😇 (Python 3 only) 💩' + self.locals_in_py = True def _set_prompt(self): """Set prompt so it displays the current working directory.""" -- cgit v1.2.1