glenn.prin...@gmail.com wrote:
I would like to redirect the output of the command below to another file type test.txt > test.bakI'm trying to do this as part of a python script running on Windows XP. I'm using os.system('type "filepath.txt > filepath.bak"') but nothing is happening.
Try: os.system('type "filepath.txt" > "filepath.bak"') or just: os.system('type filepath.txt > filepath.bak')
I was wondering if somebody could enlighten me.
-- http://mail.python.org/mailman/listinfo/python-list