【发布时间】:2011-07-10 01:30:48
【问题描述】:
我正在尝试将输出从 manage.py 重定向到文本文件,但只有一些输出被重定向到文本文件。如何将所有输出重定向到文本文件?
我的命令提示符:
C:\Development\web-py\p1st2\pianos1st-system>python manage.py test > test_results.txt
.....................................................................................................................
----------------------------------------------------------------------
Ran 117 tests in 2.026s
OK
我的 test_results.txt 文件:
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
我使用的是 Windows 7 32bit SP1 和 Django SVN。
【问题讨论】:
标签: python windows django command-line stdout