Message129017
| Author | Dave.Flogeras |
|---|---|
| Recipients | Dave.Flogeras |
| Date | 2011-02-22.00:47:04 |
| SpamBayes Score | 4.800191e-06 |
| Marked as misclassified | No |
| Message-id | <1298335624.95.0.787051793751.issue11278@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
From the python prompt, raw_input() (2.7.1) and input (3.2.0) behave as documented (they strip the trailing EOL chars) However the two line test program: x = raw_input() # or input() in 3.2.x print( repr( x )) And then run from the command line prompt, .\test.py, shows 'mytest\r' including the EOL char. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2011-02-22 00:47:05 | Dave.Flogeras | set | recipients: + Dave.Flogeras |
| 2011-02-22 00:47:04 | Dave.Flogeras | set | messageid: <1298335624.95.0.787051793751.issue11278@psf.upfronthosting.co.za> |
| 2011-02-22 00:47:04 | Dave.Flogeras | link | issue11278 messages |
| 2011-02-22 00:47:04 | Dave.Flogeras | create | |