|
|
|
Модуль io.StringIO
|
|||
|---|---|---|---|
|
#18+
есть вопрос Python 3.3 you use the io.StringIO module when Answer: 1) using a string-like object that is an immutable type 2) writing string contents to a diskfile 3)performing text based input/output operations on a file-like in memory stream 4)manipulating a diskfiles contents without using cumbersome seek/write operations 5) transmitting a string over an open soket Насколько понимаю, если нужно работать со строкой как с файлом. Модуль StringIO как раз дает такую возможность. Но какой вариант правильный не могу сообразить, по моему ни один не подходит, ближе всего в моем понимании 1) или 3) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.04.2018, 18:58 |
|
||
|
|

start [/forum/topic.php?fid=23&fpage=25&tid=1460317]: |
0ms |
get settings: |
4ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
40ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
15ms |
get tp. blocked users: |
1ms |
| others: | 205ms |
| total: | 286ms |

| 0 / 0 |
