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 19 890 subscribers, ranking 6 595 in the Technologies & Applications category and 3 108 in the Ukraine region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 19 890 subscribers.
According to the latest data from 02 November, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -207 over the last 30 days and by -6 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.17%. Within the first 24 hours after publication, content typically collects 5.33% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 824 views. Within the first day, a publication typically gains 1 060 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 9.
- 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 03 November, 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.
inspect допомагає розробникам досліджувати вже написані програми, а метод getsource() повертає весь вихідний код функції, класу чи модуля у вигляді рядка:
import inspect
def function(a, b):
# product of two numbers
return a * b
print(inspect.getsource(function))
# def function(a, b):
# # product of two numbers
# return a * b
До аргументів достатньо передати необхідний об'єкт. Але важливо відзначити, що вбудовані функції не вдасться проінспектувати.
#inspect // #practice // PythonКнига призначена для широкого кола людей, які цікавляться кібер-безпекою, включаючи професіоналів, дослідників, викладачів, студентів і тих, хто розглядає кар’єру в цій галузі.Рік: 2023 Мова: 🇬🇧 Автор: Nishant Krishna #Python // #books // Вакансії IT
isdisjoint() повертає True, якщо жоден з елементів не присутній в обох наборах. Інакше він повертає False.
set1 = {2, 4, 5, 6}
set2 = {7, 8, 9, 10}
set3 = {1, 2}
print("set1 and set2 are disjoint?",
set1.isdisjoint(set2)) # True
print("set1 and set3 are disjoint?",
set1.isdisjoint(set3)) # False
Можна використовувати список, кортеж, словник або рядок — тоді метод спершу перетворює ітерації в набори, а потім перевіряє, чи не перетинаються вони.
#isdisjoint // #practice // PythonPerson з атрибутом age, ви можете визначити метод gt(self, other), щоб порівнювати людей за віком.
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __gt__(self, other):
return self.age > other.age
# Створюємо два об'єкти класу Person
person1 = Person("Alice", 25)
person2 = Person("Bob", 30)
# Порівнюємо їх вік
if person1 > person2:
print(f"{personl name} старший, ніж {person2.name}")
else:
print(f"{person1.name} молодший, ніж {person2.name}")
#Python // #theory // Вакансії ITТут ви будете вчитися через невеликі квести. Створіть свого персонажа і вирушайте на пошук пригод, прокачуйте його рівень і свої навички кодингу.👉 Зіграти безкоштовно #Codedex // #news // Python
captcha та Pillow, який використовується для створення зображень у captcha.
from captcha.image import ImageCaptcha
pattern = "1234ABCD"
# створюємо обʼєкт зображення під капчу
captcha = ImageCaptcha(width=300, height=200)
# генеруємо та записуємо капчу в переданий файл
captcha.write(pattern, "captcha.png")
Тож створюємо об'єкт зображення ImageCaptcha, на який буде нанесений текст, і викликаємо метод write із заданим текстом та ім'ям файлу, в який буде записано зображення.
#captcha // #practice // Pythonclass Point:
def __init__(self, x, y) :
self.x = x
self.y = y
def __ne__(self, other):
return(self.x != other.x) or (self.y != other.y)
point1 = Point(1, 2)
point2 = Point(3, 4)
if point1 != point2:
print("Точки не рівні")
else:
print("Точки рівні")
#Python // #theory // Вакансії ITprint() ми отримуємо все в один рядок та у нерозбірливому вигляді.
Але в стандартній бібліотеці є модуль pprint, який допоможе вивести все в гарному форматі — достатньо в коді замінити print() на pprint.pprint().
import print
data = [
{'Name': 'Alice XXX', 'Age': 40, 'Points': [80, 20]},
{'Name': 'Bob YYY', 'Age': 20, 'Points': [90, 10]}
]
pprint.pprint(data, depth=2)
# [{'Age': 40, 'Name': 'Alice XXX', 'Points': [...]},
# {'Age': 20, 'Name': 'Bob YYY', 'Points': [...]}]
pprint.pprint(data, width=41)
# [{'Age': 40,
# 'Name': 'Alice XXX',
# 'Points': [80, 20]},
# {'Age': 20,
# 'Name': 'Bob YYY',
# 'Points': [90, 10]}]
text = pprint.pformat(data)
З цікавих аргументів є depth, що відповідає за глибину вкладеності при виведенні, а також width, який відповідає за ширину виведення в консолі.
#pprint // #practice // Pythonclass Point:
def __init__(self, x, y):
self.x = x
self.y = y
def __eq__(self, other):
return self.x == other.x and self.y = other.y
point1 = Point(1, 2)
point2 = Point(1, 2)
if point1 == point2:
print("Об'єкти рівні")
else:
print("Об'єкти не рівні")
#Python // #theory // Вакансії ITcycle() з itertools приймає на вхід об'єкт, що ітерується, і створює нескінченний ітератор, який циклічно повертає елементи даного об'єкта. Фішка в тому, що коли елементи послідовності закінчуються, ітерація починається знову з першого елемента.
from itertools import cycle, islice
colors = cycle(['red', 'white', 'blue'])
for item in colors:
print(item, end=' ')
# Output: red white blue red white blue...
for color in islice(colors, 3, 5):
print(color, end=' ')
# Output: red white
Але якщо ви проходите циклом по такому ітератору, то важливо передбачити вихід з циклу, інакше він стане нескінченним (як у нас в першому випадку). Ми також можемо скористатися islice(), який поверне ітератор по підмножині переданого об'єкта.
#cycle // #practice // PythonКнига розроблена для учнів 4-х класів і старше, вона розповідає простими словами про складне у веселих, коротких уроках, які пробуджують творчість і критичне мислення.Рік: 2024 Мова: 🇬🇧 Автор: Mike Gold #Python // #books // Вакансії IT
difflib, який має метод get_close_matches.
>>> import difflib
>>> m_list = ['ape', 'apple', 'peach', 'puppy']
>>> difflib.get_close_matches('appel', m_list, n=2)
['apple', 'ape']
Цей метод шукає "найкращі" можливі збіги. Перший аргумент задає рядок, другий — список, де виконується пошук.
Також у даний метод можна передати необов'язковий аргумент n, який задає максимальну кількість збігів, що повертаються.
#difflib // #practice // Python