pinder 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.