Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
06.04.2018, 18:58
|
|||
---|---|---|---|
|
|||
Модуль 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) ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=23&tablet=1&tid=1460317]: |
0ms |
get settings: |
11ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
48ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
28ms |
get tp. blocked users: |
2ms |
others: | 315ms |
total: | 439ms |
0 / 0 |