e-learning

Python - Subprocess

Abstract

Sometimes you need to run other tools in Python, like maybe you want to

About This Material

This is a Hands-on Tutorial from the GTN which is usable either for individual self-study, or as a teaching material in a classroom.

Questions this will address

  • How can I run another program?

Learning Objectives

  • Run a command in a subprocess.
  • Learn about check_call and check_output and when to use each of these.
  • Read it's output.

Licence: Creative Commons Attribution 4.0 International

Keywords: Foundations of Data Science, jupyter-notebook

Target audience: Students

Resource type: e-learning

Version: 3

Status: Active

Learning objectives:

  • Run a command in a subprocess.
  • Learn about check_call and check_output and when to use each of these.
  • Read it's output.

Date modified: 2023-02-13

Date published: 2022-04-25

Authors: Bazante Sanders, Donny Vrins, Helena Rasche

Contributors: Bazante Sanders, Donny Vrins, Helena Rasche

Scientific topics: Software engineering


Activity log