© Moshe Zadka 2019
Moshe ZadkaDevOps in Pythonhttps://doi.org/10.1007/978-1-4842-4433-3_3

3. Interactive Usage

Moshe Zadka1 
(1)
Belmont, CA, USA
 

Python is often used for exploratory programming. Often, the final result is not the program but an answer to a question. For scientists, the question might be “what is the likelihood of a medical intervention working?” For people troubleshooting computers, the question might be “which log file has the message I need?”

However, regardless of the question, Python can often be a powerful tool to answer it. More importantly, in exploratory programming, we expect to encounter more questions, based on the answer.

The interactive model in Python comes from the original Lisp environments’ “Read-Eval-Print Loop” (REPL, ...

Get DevOps in Python: Infrastructure as Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.