publish-meetups/publish_meetups/__init__.py

22 lines
478 B
Python

from pathlib import Path
from config_path import ConfigPath
import configparser
class PublishMeetups:
def __init__(self):
self.config_file: Path = Path(ConfigPath("publish-meetups", "hzl", ".ini").saveFilePath(mkdir=True))
self.config = configparser.ConfigParser()
self.config["DEFAULT"] = {
}
print(self.config_file)
def __enter__(self):
return self
def __exit__(self, exc_type, exc_val, exc_tb):
pass