Message 101880 - Python tracker
Message101880
| Author | flox |
|---|---|
| Recipients | dangyogi, flox, gruszczy |
| Date | 2010-03-28.23:01:53 |
| SpamBayes Score | 1.6943347e-06 |
| Marked as misclassified | No |
| Message-id | <1269817314.37.0.417129984567.issue8256@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Right. It does not involve doctest.
#
import io, sys
original_stdout = sys.stdout
try:
sys.stdout = io.StringIO()
input("prompt:")
print()
finally:
sys.stdout = original_stdout |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-03-28 23:01:54 | flox | set | recipients: + flox, dangyogi, gruszczy |
| 2010-03-28 23:01:54 | flox | set | messageid: <1269817314.37.0.417129984567.issue8256@psf.upfronthosting.co.za> |
| 2010-03-28 23:01:53 | flox | link | issue8256 messages |
| 2010-03-28 23:01:53 | flox | create | |