aboutsummaryrefslogtreecommitdiffstats
path: root/data_writer.py
blob: e74cb89484b64583048a7c51cf48269fc217023c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import os
class DataWriter:
    def __init__(self, filepath: str):
        self.filepath = filepath
        with open(self.filepath, "w") as f:
            f.write("")
    
    def write(self, data: str):
        with open(self.filepath, "a") as f:
            f.write(data)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage