Atualmente Γ© desenvolvedor Senior no Laboratorio de Sistemas Embarcados dentro do centro da Pesquisa da Universidade do Estado do Amazonas. Graduando em engenharia eletronica e pai de uma menina
Adoro trabalhar de madrugada, e quando nao estΓ‘ trabalhando estΓ‘ codando alguma coisa interessante, ou seja, ta sempre codando. Resumindo, amo programar.
import asyncio
async def fun():
while True:
await coding()
await asyncio.sleep(60 * 60 * 4)
async def work():
coffe = False
while True:
if coffe is False:
coffe = await do_coffe()
await coding()
await asyncio.sleep(60 * 60 * 12)
async def life(event_loop):
event_loop.create_task(work())
event_loop.create_task(fun())
event = asyncio.Event()
await event.wait()
if __name__ == '__alison__':
asyncio.run(life())