Skip to content

Instantly share code, notes, and snippets.

View devnjw's full-sized avatar

Jinwoo Nam (Nolan) devnjw

View GitHub Profile
@devnjw
devnjw / independent_async_loops.py
Created April 15, 2024 12:18
A Python script showcasing how to run two independent loops simultaneously using asyncio, with continuous task execution and error handling.
import logging
import asyncio
import time
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
def time_check_decorator(func):
def wrapper(*args, **kwargs):
@devnjw
devnjw / first_gist.py
Created February 24, 2022 07:35
Testing Github Gist
print("Hello Gist")