Message125899
amaury> The script unicode2.py uses the console STD_OUTPUT_HANDLE iff
amaury> sys.stdout.fileno()==1
Interesting article about the Windows console:
http://blogs.msdn.com/b/michkap/archive/2008/03/18/8306597.aspx
There is an example which has many tests to check that stdout is the windows
console (and not a pipe or something else). |
|
Date |
User |
Action |
Args |
2011-01-10 12:33:21 | vstinner | set | recipients:
+ vstinner, lemburg, tzot, amaury.forgeotdarc, pitrou, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, ssbarnea, brian.curtin, davidsarah, David.Sankel |
2011-01-10 12:33:17 | vstinner | link | issue1602 messages |
2011-01-10 12:33:17 | vstinner | create | |
|