TGTGInsightаналитика telegramLIVE / telegram public index
← [404] — программирование

TGINSIGHT SIMILAR POSTS

Найти похожее

Источник @procode404 · Post #3864 · 30 нояб.

​🐌Всё про ускорение Python-кода —[1:29:40] По сравнению с низкоуровневыми языками программирования, Python можно считать довольно медленным, поскольку он полностью состоит из скриптов. Из этого видео вы узнаете о базовых вещах, которые позволят ускорить ваш Python-код и избежать основных ошибок, которые допускают новички в этом вопросе. 1. Каким должен быть код — [7:15] 2. Профилирование — [8:38] 3. Пример профилирования — [12:05] 4. Что можно улучшить в коде? — [36:34] 5. Как избегать циклы — [36:42] Перейти к просмотру #видео#python

Результаты

Найдено 1 похожих постов

Поиск: #loggers

当前筛选 #loggers清除筛选
djangoproject

@djangoproject · Post #77 · 05.07.2016, 07:46

https://docs.python.org/2/library/logging.html This module defines functions and classes which implement a flexible event logging system for applications and libraries. The key benefit of having the #logging_API provided by a standard library module is that all Python modules can participate in logging, so your application log can include your own messages integrated with messages from third-party modules. The module provides a lot of functionality and flexibility. If you are unfamiliar with #logging, the best way to get to grips with it is to see the tutorials (see the links on the right). The basic classes defined by the module, together with their functions, are listed below. #Loggers expose the interface that application code directly uses. Handlers send the log records (created by loggers) to the appropriate destination. Filters provide a finer grained facility for determining which log records to output. Formatters specify the layout of log records in the final output.