Если запустить 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
#rstats#book
📕
Introducción a R: aprendiendo R sin morir en el intento.
Libro, en formato web y en español, ideal para aquellos interesados en iniciar el aprendizaje de #R a partir de los tipos de datos y la programación.
🌐ES
🔗Link
-----
Canal principal: @repo_science
Cupones: @freecoupons_reposcience
-----
#NYR2024#RStats
🖥
Excited to have Hadley Wickham, Chief Scientist at Posit, speaking at NY R Conference 2024! Dive into the evolution of data science and discover future trends with one of the pioneers in R programming.
rstats.ai/nyr.html
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#DataScience#rstats#DataScientist#dataanalysis#r#programming#dataviz#statistics
In an era driven by data, harnessing the power of statistics is key to deriving meaningful insights from the vast sea of information around us.
pyoflife.com/statistics-wit
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#ML#datascience#rstats#programming#dataviz#stats#analytics#machinelearning
6 formas de visualizar los resultados del análisis cluster jerárquico con R
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#programming#GPT4#GPT3#dataviz#stats#analytics#ML#AI#IA
🚀
Cómo programar más rápidamente en #RStats con #ChatGPT
Escribir código es un proceso lento, especialmente cuando estás aprendiendo #datascience por primera vez. ¿Y si pudieras acelerarlo?
🔗Link
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----