aboutsummaryrefslogtreecommitdiff
path: root/src/utils/io.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/io.py')
-rw-r--r--src/utils/io.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/io.py b/src/utils/io.py
new file mode 100644
index 00000000..ff565849
--- /dev/null
+++ b/src/utils/io.py
@@ -0,0 +1,4 @@
+import io
+
+def open(path: str, mode: str):
+ return io.open(path, mode=mode, encoding="utf8")