Message369620
It would be breaking change.
In addition to multiline strings you can use \n with $' on Posix:
python -c $'with open("somefile.txt") as f:\n s = f.read()\n print(len(s))'
Maybe there is similar feature on Windows, but in any case the command line interface on Windows is far from user friendly. |
|
Date |
User |
Action |
Args |
2020-05-22 17:19:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, zach.ware, DahlitzFlorian, BTaskaya |
2020-05-22 17:19:27 | serhiy.storchaka | set | messageid: <1590167967.01.0.126567324259.issue40568@roundup.psfhosted.org> |
2020-05-22 17:19:26 | serhiy.storchaka | link | issue40568 messages |
2020-05-22 17:19:26 | serhiy.storchaka | create | |
|