fn main()
Home
Rust
C
Android
Python
Raspberry pi
Linux
Django
Electronics
Webassembly
Node.js
IBM-AS400
Element of CS
Spark
Networking
Docker
Javascript
Tuesday, August 5, 2014
Raspberry Pi - Sh scripts in Python
How to write sh commands in Python
By Importing the library OS in python, we can use the 'sh' scripts in python very easily.
sh script 'a.sh' to echo the 'Hello World'
Python program to use 'a.sh' shell script
Output:
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment