2018年1月8日 星期一

Python: Call an external command in Python

Python: Call an external command in Python

Python Basic: Exercise-45 with Solution

Write a python program to call an external command in Python.
Sample Solution:-
from subprocess import call
call(["cmd"])
# call(["ls", "-l"]) 






沒有留言:

張貼留言

Node-Red & ModeBus FC=1

Node-Red & ModeBus FC=1 write address=0..7   8bits read address=16..23 8bits  [{"id":"cf7c1253d4d997dd","type&q...