Skip to content

Added an example of conditional control flow in python script#69

Merged
tleonhardt merged 1 commit intomasterfrom
conditional_scripting
Mar 11, 2017
Merged

Added an example of conditional control flow in python script#69
tleonhardt merged 1 commit intomasterfrom
conditional_scripting

Conversation

@tleonhardt
Copy link
Copy Markdown
Member

Added an example of how the py command can be used to run Python scripts which use conditional control flow based on the results of a previous command.

Also added an example of one possible way to store results and added the self._last_result attribute for this purpose.

Updated the documentation to refer to the new example.

This closes #51.

…on can be achieved via the py command and python scripts.
@tleonhardt tleonhardt added this to the 0.7.1 milestone Mar 11, 2017
@tleonhardt tleonhardt self-assigned this Mar 11, 2017
@tleonhardt tleonhardt merged commit aa931a5 into master Mar 11, 2017
@tleonhardt tleonhardt deleted the conditional_scripting branch March 11, 2017 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider expanding scripting capability to include conditional control flow

1 participant