Python and Bash

Bash in Python

Learn how to a run bash command from within a python script here:

Assignments

  1. Submit the code for a python script that uses bash commands to print out the content of all files in the directory it is run from. Comment this program well.

Programming and scripting are different but share most of the same principles, and these principles will be shared between all languages. Once you can program well in one language, you can learn any language, it just will take a bit to learn.