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 272 subscribers, ranking 6 372 in the Technologies & Applications category and 3 018 in the Ukraine region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 20 272 subscribers.
According to the latest data from 05 September, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -192 over the last 30 days and by -5 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.69%. Within the first 24 hours after publication, content typically collects 5.38% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 964 views. Within the first day, a publication typically gains 1 090 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 11.
- 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 06 September, 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.
class Age:
def __init__(self):
self.__value = None
def __get__(self, obj, obj_type):
return self.__value
def __set__(self, obj, value);
if isinstance(value, int) and value > 0:
self.__value = value
def __delete__(self, obj):
del self.__value
class Person:
age = Age()
def __init__(self, name, age):
self.name = name
self.age = age #__set__
john = Person('John', 20)
john.age = 25 # __set__
print (john.age) # __get__
del john.age # __delete__
Для того, щоб визначити свій власний дескриптор, зазвичай визначають три спеціальні методи класу __get__, __set__ або __delete__. Після цього можна створити новий клас і в атрибуті цього класу записати об'єкт типу дескриптор. У даного об'єкта буде перевизначено поведінку при доступі до атрибуту (__get__), присвоювання значень (__set__) або видалення (__delete__).
#practice // Архів книг // Python@property, а сетер у вигляді @властивість.setter.
class Person:
def __init__(self, name, age):
self.__name = name
self.__age = age
@property # гетер
def age(self):
return self.__age
@age.setter # сетер
def age(self, value):
assert value > 0, 'Age cannot be negative.'
self.__age = value
mark = Person('Mark', 25)
mark.age = 30
print(mark.age)
# Output: 30
mark.age = -20
# AssertionError: Age cannot be negative.
В наведеному прикладі метод гетера називається age, тому декоратор сетера — @age.setter. Обидва методи повинні мати однакову назву, за якою можна буде звертатися як до звичайного атрибуту.
#practice // Архів книг // Pythonclass Person:
def __init__(self, name):
self.name = name
def get_name(self):
return self.name
def is_employee(self):
return False
class Employee(Person):
def is_employee(self):
return True
john = Person('John') # екземпляр класу Person
print(john.get_name(), john.is_employee())
# Output: John False
ella = Employee('Ella') # екземпляр класу Employee
print(ella.get_name(), ella.is_employee( ))
# Output: Ella True
Спадкування дозволяє створювати новий клас на основі вже існуючого. Таким чином, можна створити новий клас, взявши за основу всі методи та атрибути іншого.
В даному прикладі клас Person є батьківським класом, також його називають базовим класом чи суперклассом. А клас Employee називається дочірнім класом або підкласом.
#practice // Вакансії IT // Pythonprint(pow(2, 2)) # 4
print(pow(-2, 2)) # 4
print(pow(2, -2)) # 0.25
print(pow(-2, -2)) # 0.25
pow() обчислює степінь числа, зводячи перший аргумент до другого. Повертає 1, якщо значення степеню дорівнює 0; 0 — якщо значення числа дорівнює 0.
#practice // Вакансії IT // Pythonstr.split(sep=None, maxsplit=-1) — повертає список підрядків, розбивши рядок на роздільник sep (за замовчуванням ' '), maxsplit кількість разів.
🔴sep.join(iterable) — повертає рядок, об'єднавши елементи iterable по роздільнику sep.
🔴str.replace(old, new[, count]) — поверне копію рядка, в якому всі входження підрядка old замінені на підрядок new, count разів.
#theory // Архів книг // Pythonnumbers = [2.5, 3, 4, -5]
numbers_ sum = sum (numbers)
print(numbers_sum) # 4.5
numbers_sum = sum(numbers, 10)
print(numbers_sum) # 14.5
sum() додає елементи об'єкта, що ітерується, і повертає суму. За потреби можна вказати параметр start. Це значення додається до суми елементів ітерації. Значення start за замовчуванням — 0 (якщо опущено).
#practice // Вакансії IT // Python