954,546 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

shell commands in python

hey guys im trying to express this in python,

for i in $(ls lsb/desktop); do tjreport lsb/desktop/$i/journal* > lsb/desktop/$i/${i}fail; tjreport -d lsb/desktop/$i/journal* > lsb/desktop/$i/${i}all; done

its shell commands but i dont know how to do this in python
could u guys help please

thx

pinder
Newbie Poster
5 posts since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You