PythonEasy
Search
Home
Tutorial
MCQ Quiz
How To
How to call a shell script from Python code
0
1334
import subprocess subprocess.call(['./example.sh']) # Shell script path
Like it!
Comment
Write a line to us
Your Email
Title
Description
Send
Login
Sign Up
Login
Forgot password?
OR
Sign in with Facebook
Sign in with Google
Email
Password
First Name (Optional)
Last Name (Optional)
Submit
Comment here