Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL.
user@host:~$ python -m asyncio
asyncio REPL 3.12.7 ...
Use "await" directly instead of "asyncio.run()".
>>> import asyncio
>>>
В этом режиме
- создаётся и настраивается event loop
- уже импортирован asyncio
- работает await на верхнем уровне
То есть такая команда сработает без ошибок!
await asyncio.sleep(3)
Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки.
Работает в: 3.8+
#tricks#async
⚠️
⚠️
⚠️
⚠️
⚠
🔔AMA ANNOUNCEMENT
🗣We are pleased to announce our #Voice AMA with "Ethernity Cloud " || 16th Jan 2025 at ( 13:00PM UTC)
🔠
🔠
🔠
🔠
🔠
🔠
🔠
🔠
⏳ Time : 16th Jan, 2025 at (13:00PM UTC)
🏠 Venue
✉️Crypto Fight
🤵♂️Guest : Iosif Peterfi - CEO
➡️There will be 3 segments. Last approximately for 45 minutes - 1 hours.
🟢Segment 1: Introduction Questions
🟢Segment 2: Twitter Questions
🟢Segment 3: Live Questions
📌Rules to follow AMA:
✅ Join
✉️CryptoFight &
✉️Ethernity-cloud
✅Like & Retweet
✅Twitter Post
✅ Follow
📝CryptoFight &
📝Ethernity-cloud on Twitter
📝 Ask Your Questions ( Here )
⏰ Must Join "Ethernity Cloud" Social Media Links :
✅Website✅Telegram✅Twitter✅Discord🌐Github✅Youtube✅Facebook
⏰ Must JoinCrypto Fight Community :
✉️Telegram
✉️Channel
📝Twitter
🔶Binance Live
*️⃣Linktree
💥If You Want To Promote Your Project Or AMA Proposal
📞DM @Ryan_Fight
Tribute: Voice Actor Shares Success Story
#Tribute#voice
Tribute shares insights from a voice actor who has mastered monetizing talent using the platform. Learn how they turn their passion for voice acting into income.
Source: link
@tonlines
🆕 AI News:Did you know? Scientists recently trained an AI to recognize emotions in human voices even better than some people can! Experts believe this could help build smarter assistants and even help diagnose health issues sooner.
❕ Would you trust an AI to sense your mood?
➖➖➖➖🔻
🧠 BOT: @Chatgpt_OfficialBOT
💎@Chatgpt_OfficialNews
#️⃣#AI#Voice#News
➖➖➖➖🔺