This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | techtonik |
|---|---|
| Recipients | techtonik |
| Date | 2013年07月25日.11:46:19 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1374752779.81.0.230915084667.issue18553@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It seems like os.isatty(0) works on Windows too. Documentation says Unix only: http://docs.python.org/2/library/os.html#os.isatty http://docs.python.org/3.4/library/os.html#os.isatty C:\>py -c "import os; print os.isatty(0)" True C:\>echo "x" | py -c "import os; print os.isatty(0)" False C:\>py -c "import os; print os.isatty(0)" | more True |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013年07月25日 11:46:19 | techtonik | set | recipients: + techtonik |
| 2013年07月25日 11:46:19 | techtonik | set | messageid: <1374752779.81.0.230915084667.issue18553@psf.upfronthosting.co.za> |
| 2013年07月25日 11:46:19 | techtonik | link | issue18553 messages |
| 2013年07月25日 11:46:19 | techtonik | create | |