Run Command on Terminal using #Python🐍



This content originally appeared on DEV Community and was authored by Umair Shakoor 🛡

import os
os.system('whoami')

Description :

Simple program of two lines of python to run any command directly in terminal . I always thinking how we can install an external module like PyJokes in others PC when sharing code . Therefore, to automate

pip install pyjokes

I have searched and build this.

What you think about this program ?
Your suggestions will be appreciated 💯


This content originally appeared on DEV Community and was authored by Umair Shakoor 🛡