Skip to main content

Using Linux commands in a python script (and the difference between the subprocess and os python modules)

Submission Number: 54
Submission ID: 261
Submission UUID: 79b723ab-e045-4cff-8a3b-697b90c49580
Submission URI: /form/resource

Created: Tue, 03/22/2022 - 16:58
Completed: Tue, 03/22/2022 - 16:58
Changed: Sun, 11/12/2023 - 12:31

Remote IP address: 70.77.241.128
Submitted by: Tolu Oyeniyi
Language: English

Is draft: No
Yes
Using Linux commands in a python script (and the difference between the subprocess and os python modules)
Learning
Beginner, Intermediate
Learn how to use Linux commands in a python script. Specifically, learn how to use the subprocess and os modules in python to run shell commands (which run Linux commands) in a python script that is run on a cluster.