Tópico Language: 8 mensagens · 23:29 –23:38 M Language:
py3
Source:
def get_urls(my_list: list):
for i in my_list:
print(i)
yield i
get_urls(list(range(10)))
23:29 M دوستان چرا هیچی پرینت نمیشه؟
23:29 S خب get_urls هم تو پرینت باید قرار بدین
23:31 M A A coroutine/generator is created in a paused state
Call .send(...)/next() to make it resume
23:33 M but first i print and then use yirld
23:33 A It doesn't even start the function, the generator is created in a paused state, as I said.
23:34 M Mostrar no feed Copiar link Original no Telegram
Um feed público aberto do índice de busca
ChatCrawler — “o Google do Telegram público”; atualizado à medida que a comunidade é rastreada.
Horários em UTC.
Somente conteúdo público, API oficial do Telegram.
Sobre ·
Perguntas frequentes ·
Limites do índice ·
Remover uma página ·
Catálogo ·
Busca ·
Como calculamos