Skip to content

Instantly share code, notes, and snippets.

View hamid-rostami's full-sized avatar
🎯
Focusing

Hamid Rostami hamid-rostami

🎯
Focusing
View GitHub Profile
# Asynchronous file open/close
# https://nullprogram.com/blog/2020/09/04/
import asyncio
class _AsyncOpen():
def __init__(self, args, kwargs):
self._args = args
self._kwargs = kwargs