Using Linux commands in a python script (and the difference between the subprocess and os python modules)
Submission navigation links for Knowledge Base Resources
Submission information
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
Webform: Knowledge Base Resources
Yes
Using Linux commands in a python script (and the difference between the subprocess and os python modules)
Learning
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.