@repo_science · Post #4088 · 09/04/2024, 15:30
#python 🖥 Advanced Python ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----
Hashtags
TGINSIGHT SIMILAR POSTS
Canal fuente @python_academy · Post #2178 · 18 sept
Загрузка файлов асинхронно Если у нас есть список URL картинок для загрузки, использование простого цикла for позволит нам загрузить их последовательно, по одной за раз. Однако, для задач, включающих загрузку большогоколичества маленьких файлов, параллелизация может заметно ускорить процесс. Для параллелизации мы можем использовать ThreadPoolExecutor из модуля concurrent.futures. Этот инструмент позволяет выполнить функцию загрузки в нескольких параллельных потоках, где в конструкторе необходимо указать максимальное количество потоков для одновременного выполнения. С помощью метода .map(download, urls) можно развернуть функцию загрузки на каждый URL из списка, обеспечивая их параллельнуюобработку. Важно понимать, что так как загрузка файлов является IO-операцией, данный метод неускоряет выполнение кода в прямом смысле, а скорее позволяет начать загрузку следующего файла, не ожидая завершения предыдущего. #python#threading
Hashtags
Búsqueda global general
@repo_science · Post #4088 · 09/04/2024, 15:30
#python 🖥 Advanced Python ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----
Hashtags
@repo_science · Post #4083 · 05/04/2024, 04:14
#Python 🤩 Python: The Professional Guide For Beginners ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----
Hashtags
@repo_science · Post #4056 · 07/03/2024, 21:39
#python 🐍 Beyond the Basic Stuff with Python ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #4035 · 17/02/2024, 23:05
🖥 Tip: You can use functools.reduce() in #Python to apply a function to all elements of the iterable set. ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #4034 · 17/02/2024, 22:57
#Python 🖥 Test your typing knowledge in Python Cool free project Python Type Challenger is a quiz where you have to write code. A good way to remember the basics of type hints (dictionaries, variables, return) and drill into the depths of the typing ocean (recursive, decorators, constructors, etc.). 🔗Link ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@dasturlash_hayoti · Post #4029 · 03/11/2025, 08:56
#python Kodda nima xatolik? 💻@dasturlash_hayoti— Dasturchilar hayoti, motivatsiya va IT olamidagi eng foydali maslahatlar shu yerda!
Hashtags
@repo_science · Post #4026 · 15/02/2024, 04:04
#python 📚 Building ETL Pipelines with Python (2024) ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #4019 · 09/02/2024, 18:19
#python 📚 Python Power (2024) ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@dasturlash_hayoti · Post #3879 · 30/07/2025, 14:29
Python bilan yo‘lingizni boshlayapsizmi? Mana sizga kerakli maslahatlar! Python — oddiy sintaksis, kuchli kutubxonalar va keng imkoniyatlarga ega dasturlash tili. Yangi boshlayotgan bo‘lsangiz, quyidagilarni yodda tuting: 1. Har kuni oz bo‘lsa ham kod yozing Python’da kuchayishning eng yaxshi yo‘li — amaliyot. Har kuni 30 daqiqa mashq qilish ham yetarli. 2. input(), if, for, def— bu sizning do‘stlaringiz! Dasturlash asoslari — sizga har qanday murakkab loyihaga eshik ochadi. 3. Real project boshlang! Masalan: kalkulyator, To-do ilova, Telegram bot yoki oddiy CRUD tizimi. O‘rganishdan ko‘ra, real loyiha qilish 3x ko‘proq foyda beradi. 4. error ko‘rsangiz — xafa bo‘lmang😁 Python xatoliklarni aniqlashni o‘rgatadi. Har bir xatolik — yangi bilim! 🔥 5. Ustozlar va hamjamiyatdan foydalaning 👉Stack Overflow 👉 YouTube’dagi Python kurslar 👉Exercism, Codewars, LeetCode — Python masalalar uchun zo‘r saytlar! 💡Esda tuting: "Birinchi 100 ta kodlaringiz ishlamasligi normal holat. Muhimi — siz har kuni urinyapsiz." #python 💻@dasturlash_hayoti— dasturchilar hayoti va dasturlash olami haqida qiziqarli loyiha!
Hashtags
@repo_science · Post #3859 · 14/01/2024, 15:12
#Python tstock is a tool to easily generate stock charts from the command line. tstock is a Python tool that allows you to easily generate stock charts from the command line. Just enter tstock aapl to get a three-month candlestick chart of $AAPL in your terminal ▪Github ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3821 · 26/12/2023, 20:52
#python 🐍 Default mutable arguments in Python Mutable default arguments in Python ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@repo_science · Post #3797 · 16/12/2023, 01:11
#python 🐍 Hitchhiker's Guide to Python Python Best Practices Guidebook Una guía de mejores prácticas para instalar, configurar y usar Python a diario, incluidos pip, numpy, virtualenv y más. 🔗Github ▪Docs ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags