INNER CODE UNIT · Python
create_commented_file
awekrx/AutoDoc-ChatGPT · modules/file.py:18
def create_commented_file(self, content: str) -> None:
path = os.path.join(
self.__dirname,
self.__basename + f"_commented.{self.__language}",
)
open(path, "w").write(content)