Skip to content

Instantly share code, notes, and snippets.

View sanxiyn's full-sized avatar

Seo Sanghyeon sanxiyn

  • Seoul, South Korea
View GitHub Profile
@sanxiyn
sanxiyn / most-frequent.py
Created December 31, 2020 17:58
BNT162b2
import csv
import python_codon_tables
def read_csv_file(file_path):
with open(file_path) as f:
reader = csv.reader(f)
records = list(reader)
return records
@sanxiyn
sanxiyn / test.py
Created February 7, 2023 08:34
mypy abs test
class Bar:
def bar(self):
pass
class Foo:
def __abs__(self) -> Bar:
return Bar()
foo = Foo()
afoo = abs(foo)