방법 1 열기 :
import os
file_name = "123.txt"
open(file_name, "w")
방법 2 pathlib :
import pathlib
file_name = "123.txt"
pathlib.Path(file_name).touch()
방법 1 열기 :
import os
file_name = "123.txt"
open(file_name, "w")
방법 2 pathlib :
import pathlib
file_name = "123.txt"
pathlib.Path(file_name).touch()