|
Модуль 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&gotonew=1&tid=1460317]: |
0ms |
get settings: |
12ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
40ms |
get topic data: |
13ms |
get first new msg: |
7ms |
get forum data: |
3ms |
get page messages: |
36ms |
get tp. blocked users: |
2ms |
others: | 318ms |
total: | 453ms |
0 / 0 |