Cody Bable

Generation

generate functionSun, 23 Apr 2023

check input if file is in system, if not make the it a file

def create_file(filename): if not os.path.isfile(filename): open(filename, 'w').close()

Want to kickstart your project?Use the new AI Studio to create your code