In python, executing bash commands can be done using subprocess module. It’s pretty easy to use and it’s a powerful module. For simple commands, we can use subprocess.call Usage: Eg: total 4 -rw-rw-r– 1 tevin tevin 15 Sep 3 15:29 test.txt You can also use subprocess.check_call and subprocess.check_output Popen: For more flexibility, you can use […]
Word Of The Day – 4/9/14
WORD OF THE DAY JOVIAL(Adjective) Meaning: Cheerful and friendly Full of happiness and joy Usage: The audience was in a jovial mood. He was extremely kind and jovial, and we spent a long time talking. It was hard to believe this jovial man was the same angry man she had faced earlier that night. IDIOM/PHRASE […]