Если запустить 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
❗Объем торгов на ITS в июне составил $11,9 млн
Объем торгов акциями и депозитарными расписками на международной торговой площадке ITS по итогам июня составил $11,9 млн. Общее количество сделок с акциями и депозитарными расписками международных компаний составило 2795 сделок.
В топ-10 лидеров по объему торгов вошли акции Tesla, Marathon Digital Holdings, AMD, Coinbase Global, Exxon Mobil Corporation, Baidu, Virgin Galactic Holdings, MicroStrategy Incorporated, Li Auto, JD.com.
Торги стартовали 7 июня 2023 года и с первого дня инвесторам стали доступны 1570 акций и депозитарных расписок компаний из США, Европы и Азии с первичным листингом на американских биржах NYSE и NASDAQ.
#торги
#ITS
i get that people are more comfortable with defined rules and structure but i also think queer people lost when they started resorting to dictionary definitions for what labels mean
the queer umbrella is meant to deviate from the norm of rigid boxes and definitions and to decide that lesbian means Only this, bi means Only this, etc, is directly contradicting what queer means. each and every label is going to have a unique meaning to the person using it and that is how it’s supposed to be. if you’re not comfortable with that…sorry?
basically if someone tries to tell you you’re using a label wrong:
[image description: a set of tumblr tags from @/elinaline, reading: “#there is a way to use a label wrong actually; #its when you force it on someone else”. end image description.]
this is the only answer i’ll accept thank u everyone for your participation <3
https://genderkoolaid.tumblr.com/post/689713705918791680
i get that people are more comfortable with defined rules and structure but i also think queer people lost when they started resorting to dictionary definitions for what labels mean
the queer umbrella is meant to deviate from the norm of rigid boxes and definitions and to decide that lesbian means Only this, bi means Only this, etc, is directly contradicting what queer means. each and every label is going to have a unique meaning to the person using it and that is how it’s supposed to be. if you’re not comfortable with that…sorry?
basically if someone tries to tell you you’re using a label wrong:
[image description: a set of tumblr tags from @/elinaline, reading: “#there is a way to use a label wrong actually; #its when you force it on someone else”. end image description.]
this is the only answer i’ll accept thank u everyone for your participation <3
https://genderkoolaid.tumblr.com/post/689713705918791680