Python 🇺🇦
▪️Вивчаємо Python разом. ▪️Високооплачувана професія ▪️Допомагаємо з пошуком роботи Зв'язок: @Ekater1na_admin
Show more📈 Analytical overview of Telegram channel Python 🇺🇦
Channel Python 🇺🇦 in the Ukrainian language segment is an active participant. Currently, the community unites 20 874 subscribers, ranking 6 483 in the Technologies & Applications category and 2 945 in the Ukraine region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 20 874 subscribers.
According to the latest data from 10 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -180 over the last 30 days and by -14 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.35%. Within the first 24 hours after publication, content typically collects 5.50% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 951 views. Within the first day, a publication typically gains 1 148 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 10.
- Thematic interests: Content is focused on key topics such as шпаргалка, mcp, user1, python'er, бібліотека.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“▪️Вивчаємо Python разом.
▪️Високооплачувана професія
▪️Допомагаємо з пошуком роботи
Зв'язок: @Ekater1na_admin”
Thanks to the high frequency of updates (latest data received on 11 June, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
NumPy.
import numpy as np
arr = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
newarr = arr.reshape(4, 3)
print (newarr)
# [[1 2 3]
# [4 5 6]
# [7 8 9]
# [10 11 12]]
arr1 = np.array([1, 2, 3, 4, 5, 6, 7, 8])
newarr1 = arr1.reshape(3, 3)
print(newarr1)
# ValueError: cannot reshape array of size 8 into shape (3,3)
У цьому прикладі одномірний масив з 12 елементами перетворюється на двомірний. Спроба перетворити масив на математично неможливу форму викличе ValueError.
#Python // #practice // Архів книг__all__, до якого записуються назви об'єктів, які будуть підключені.
def foo():
pass
def bar():
pass
all = ['bar']
Таким чином, при імпорті виду з module import * з модуля з подібним записом підключаться тільки об'єкти з назвами зі списку __all__.
У прикладі вище імпортувати функцію foo з такого модуля все ще можна, наприклад, за допомогою запису from module import foo.
#Python // #practice // Архів книгimport six
def dispatch_types (value):
if isinstance(value, six.integer_types):
handle_integer(value)
elif isinstance(value, six.class_types):
handle_class(value)
elif isinstance(value, six.string_types):
handle_string(value)
У цьому прикладі функція dispatch_types використовує константи типів з бібліотеки Six для перевірки типу переданого значення та виклику відповідної функції обробки.
#Six // #theory // Pythonlist, dict, set, tuple, тощо).
Мова: 🇺🇦
Тривалість: 9 хв
#Python // #lessons // Вакансії ITМодель може виконувати Python-код, легко справляється з множенням і діленням.👉 Спробувати #Python // #news // Архів книг
a<b викликається a.__lt__(b) (для кожного оператора порівняння є свій магічний метод).
class Number:
def __init__(self, value):
self.value = value
def __lt__(self, other): # x < y
return self.value < other.value
def __le__(self, other): # x <= y
return self.value <= other.value
def __eq__(self, other): # x == y
return self.value == other.value
def __ne__(self, other): # x != y
return self.value != other.value
def __gt__(self, other): # x > y
return self.value > other.value
def __ge__(self, other): # x <= y
return self.value <= other.value
Докладніше про те, який спосіб за який оператор відповідає, наочно показано в коді. Щоправда, писати всі шість методів виходить трохи громіздко, тому часто використовують декоратор total_ordering з functools.
#python // #practice // Архів книгbreak та continue в циклах — для наочного закріплення матеріалу.
Мова: 🇺🇦
Тривалість: 8 хв
#Python // #lessons // Вакансії ITdict).
# Створення словника
my_dict = {}
# Додавання значення
my_dict["key1"] = "value1"
my_dict["key2"] = "value2"
# Пошук значення за ключем
result = my_dict["key1"]
print(result) # Виведе: "value1"
#Python // #theory // Вакансії ITstatistics.mean() обчислює середнє арифметичне значення заданого набору даних. Він складає всі задані значення, після чого ділить на їх кількість.
import statistics
print(statistics.mean([1, 3, 5, 7, 9, 11, 13]))
# 7
print(statistics.mean([1, 3, 5, 7, 9, 11]))
# 6
print(statistics.mean([-11, 5.5, -3.4, 7.1, -9, 22]))
# 1.8666666666666667
Якщо дані не вказані, повертається помилка StatisticsError.
#python // #practice // Архів книгdef my_function(my_list=None):
if my_list is None:
my_list = []
# do something with my_list
* це може призвести до несподіваної поведінки
#Python // #theory // Вакансії ITshelve дозволяє зберігати та читати довільні дані. Таким чином можна зберігати будь-які Python об'єкти для подальшого використання.
Доступ до даних — за допомогою ключів, як і зі словниками. А метод shelve.open підтримує протокол контекстного менеджера (можна викликати метод close).
import shelve
# запис даних
with shelve.open('data') as shelf:
shelf['key'] = {'int': 7, 'float': 12.5, 'string': 'something'}
# читання даних
with shelve.open('data') as shelf:
print(shelf['key'])
# Output: ('int': 7, 'float': 12.5, 'string': 'something'}
В документації заявляють, що така БД є "надійною". Але враховуючи, що shelve написаний на pickle, його варто використовувати лише у зовсім маленьких проектах.
#shelve // #practice // PythonЯкщо вам зручно працювати з Python та його бібліотеками, включаючи pandas і scikit-learn, ви зможете вирішувати конкретні проблеми, починаючи від завантаження даних і закінчуючи моделями навчання та використанням нейромереж.Рік: 2023 Мова: 🇬🇧 Автор: Kyle Gallatin #Python // #books // Вакансії IT
Available now! Telegram Research 2025 — the year's key insights 
