Message7824
Your example code is
os.system( 'qgrep "<xyz" D:\*.xml > D:\result.txt' )
You are aware that the \ characters are not being interpreted as directory slashes in this string: they are python escape characters. Furthermore, the "\r" will be interpreted as a carriage return.
Why such a convoluted mechanism? Why not just do this?
os.system('qgrep xyz D:/*.xml > D:/result.txt') |
|
Date |
User |
Action |
Args |
2013-02-26 23:39:58 | amak | set | messageid: <1361921998.28.0.635365546314.issue1690@psf.upfronthosting.co.za> |
2013-02-26 23:39:58 | amak | set | recipients:
+ amak, fwierzbicki, houtm035 |
2013-02-26 23:39:58 | amak | link | issue1690 messages |
2013-02-26 23:39:58 | amak | create | |
|