
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
06.04.2018, 18:58:36
|
|||
|---|---|---|---|
|
|||
Модуль 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&mobile=1&tid=1460317]: |
0ms |
get settings: |
6ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
47ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
30ms |
get tp. blocked users: |
2ms |
| others: | 205ms |
| total: | 325ms |

| 0 / 0 |
