From beb2b37e5488965f7b2e240ea7453234bcbd3cd1 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Sat, 15 Jun 2019 00:53:23 -0400 Subject: Updated documentation --- examples/scripts/conditional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/scripts/conditional.py') diff --git a/examples/scripts/conditional.py b/examples/scripts/conditional.py index 8a4f14de..724bb3ee 100644 --- a/examples/scripts/conditional.py +++ b/examples/scripts/conditional.py @@ -5,7 +5,7 @@ This is a Python script intended to be used with the "python_scripting.py" cmd2 To run it you should do the following: ./python_scripting.py - pyscript scripts/conditional.py directory_path + run_pyscript scripts/conditional.py directory_path Note: The "app" function is defined within the cmd2 embedded Python environment and in there "self" is your cmd2 application instance. Note: self only exists in this environment if locals_in_py is True. -- cgit v1.2.1