Если запустить 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
#selfimprovement
Emotional Intelligence: Why It Matters More Than IQ🧠
You’re not as rational as you think you are. None of us are. Neuroscience shows that our amygdala, the brain’s emotional center, often fires before the prefrontal cortex—our logical HQ—has even had time to weigh in.
Finally reached 300 members
Thank you so much for all your wonderful support 😊😍
#300Members#ipersonalgrowths
#selfimprovement#Mentorship
PS : Once Again Thanks all dear Amazing people 🌻🌿 Let's go ahead 😀 fulfill You're Dream and Ambitious
Stay Connect 🌼💫 Keep Supporting 💛
As you may have noticed one month into the new year, traditional New Year’s resolutions often fail because people set vague or too big goals, rely only on willpower, and don’t have a clear plan. Small, specific changes and building habits step by step are supposed to work better. 🔄
[Read more]
@googlefactss
#NewYearsResolutions#Habits#Goals#SelfImprovement
The Power of Your Thoughts - #stoicismquotes#powerofthought#selfimprovement#motivationalspeech
https://t.me/LanguageStuff
Learning should be easy and enjoyable 😎👍
Rich Dad vs Poor Dad mindset 💸
Poor Dad: “Money comes when you work.”
Rich Dad: “Money comes when you build a system.”
The lesson:
Don’t only trade time for money.
Build assets, skills, and processes that pay you repeatedly.
Today’s action:
Pick ONE system to start:
• automate savings/investing
• create a digital product
• build a side business workflow
#RichDadPoorDad#money#wealth#mindset#financialfreedom#selfimprovement#books
How to Get Ahead of 99% of People (Starting Today)
2023-03-20 by Mark Manson
#markmanson#markmanson#selfimprovement#howtochangeyourlife#betterideas#selfimprovementtips#selfimprovementbooks
#YouTube#liked