|
|
|
Модуль 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&msg=39626980&tid=1460317]: |
0ms |
get settings: |
4ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
192ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
21ms |
get tp. blocked users: |
1ms |
| others: | 215ms |
| total: | 463ms |

| 0 / 0 |
