Chapter 2. Best Practices in Interactive Computing

In this chapter, we will cover the following topics:

  • Learning the basics of the Unix shell
  • Using the latest features of Python 3
  • Learning the basics of the distributed version control system Git
  • A typical workflow with Git branching
  • Efficient interactive computing workflows with IPython
  • Ten tips for conducting reproducible interactive computing experiments
  • Writing high-quality Python code
  • Writing unit tests with pytest
  • Debugging code with IPython

Introduction

This is a special chapter about good practices in interactive computing. It describes how to work efficiently and properly with the tools this book is about. We will introduce common tools such as the Unix shell, the latest features of Python 3, and ...

Get IPython Interactive Computing and Visualization Cookbook - Second Edition 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.