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 891 subscribers, ranking 6 480 in the Technologies & Applications category and 2 948 in the Ukraine region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 20 891 subscribers.
According to the latest data from 08 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by -182 over the last 30 days and by -8 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 9.28%. Within the first 24 hours after publication, content typically collects 5.61% reactions from the total number of subscribers.
- Post reach: On average, each post receives 1 938 views. Within the first day, a publication typically gains 1 173 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 09 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.
string має безліч вбудованих констант з окремими наборами символів. string.punctuation є одним з них, тому ми будемо використовувати його для очищення рядка.
test_punctuation = " This &is [an] example? {of) string. with.? punctuation!!!! "
import string
test_punctuation.translate(str.maketrans('', '', string.punctuation))
Out[1]: 'This is an example of string with punctuation'
string.punctuation в Python3 — це попередньо ініціалізований рядок, що використовується як рядкова константа. В Python він дасть всі набори розділових знаків.
#string // #practice // Pythonlst = [i % 2 for i in range(3)]
print(lst.index(0), lst.count(0))
👉 Відповідь
#Python // #practice // Архів книгtimeit відмінно підходить для визначення часу виконання в Python.
import timeit
listl = '''list(range(1000))'''
list2 = '''[i for i in range(1000)]'''
result1 = timeit.timeit(list1)
result2 = timeit.timeit(list2)
print('result1 -->', result1)
# result1 --> 8.064796556999681
print('result2 -->', result2)
# result2 --> 17.524755259999893
Просто передайте шматок коду в рядковому форматі методу timeit.timeit(), і він зробить 1 мільйон виконань, щоб повідомити мінімальний час, потрібний для цього.
#timeit // #practice // Pythonlist, deque також надає методи .append() та .pop() для роботи з правим кінцем послідовності. Однак .pop() поводиться по-іншому. Як видно у прикладі, .pop() видаляє та повертає останнє значення в черзі.
from collections import deque
numbers = deque([1, 2, 3, 4])
numbers.pop() # 4
numbers.pop() # 3
print(numbers) # deque([1, 2])
numbers.pop(0)
# TypeError: pop() takes no arguments (1 given)
Метод не приймає індекс як аргумент, тому його не можна використовувати для видалення довільних елементів з черг. Його можна використовувати тільки для видалення та повернення найбільш правого елемента.
#deque #pop // #practice // PythonЯкщо ви добре знаєте основи Python і хочете освоїти машинне та глибоке навчання, тоді ця книга якраз для вас. Але перш, ніж розпочати роботу з нею, вам уже треба добре розуміти обчислення, а також лінійну алгебру.Рік: 2022 Мова: 🇬🇧 Автор: Sebastian Raschka #Pytorch // #books // Python
deque і list полягає в тому, що перший дозволяє виконувати ефективні операції додавання та вилучення на обох кінцях послідовності.
from collections import deque
numbers = deque([1, 2, 3, 4])
numbers.popleft() # 1
numbers.popleft() # 2
print(numbers) # deque ([3, 4])
numbers.appendleft(2)
numbers.appendleft(1)
print(numbers) # deque([1, 2, 3, 4])
Спеціальні методи .popleft() та .appendleft() працюють безпосередньо з лівим кінцем послідовності — вони є специфічними для deque, і ти не знайдеш їх у list.
#popleft #appendleft // #practice // Pythonimport asyncio
from pydoll.browser.chrome import Chrome
from pydoll.constants import By
async def main():
# Запускаємо браузер без додаткового налаштування веб-драйвера
async with Chrome() as browser:
await browser.start()
page await browser.get_page()
# Зручно переходимо на сайти, захищені captcha
await page.go_to('https://example-with-cloudflare.com')
button = await page.find_element(By.CSS_SELECTOR, 'button')
await button.click()
asyncio.run(main())
Pydoll підходить для завдань, що вимагають надійної та ефективної автоматизації браузера, як-от веб-скрейпінг, тестування веб-застосунків і моніторинг веб-сторінок.
* для встановлення: pip install pydoll-python
👉 Файли на GitHub
#Pydoll // #theory // Python
NumPy дозволяє це зробити за допомогою функції np.partition — вона приймає масив і число K.
import numpy as np
x = np.array([7, 2, 3, 1, 6, 5, 4])
print(np.partition(x, 3))
# [2 1 3 4 6 5 7]
rand = np.random.RandomState(42)
X = rand.randint(0, 10, (4, 6))
print(np.partition(X, 2, axis=1))
# [[3 4 6 7 6 9]
# [2 3 4 7 6 7]
# [1 2 4 5 7 7]
# [0 1 4 5 9 5]]
Результатом є новий масив з найменшими значеннями K зліва від елемента і значеннями, що залишилися, справа. Всередині двох розділів елементи мають довільний лад.
❕ Аналогічно можемо розбити по довільній осі багатовимірний масив.
#np_partition // #practice // Pythonfor i in list('012345'):
if i == 3:
continue
print(i, end=' ')
else:
print('end')
👉 Відповідь
#Python // #practice // Архів книг
Available now! Telegram Research 2025 — the year's key insights 
