MCPcopy Create free account
hub / github.com/geekcomputers/Python / create_directory

Function create_directory

Google_Image_Downloader/create_dir.py:24–28  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

22
23# Creates a directory
24def create_directory(name):
25 if exists(pardir + "\\" + name):
26 print("Folder already exists... Cannot Overwrite this")
27 else:
28 makedirs(pardir + "\\" + name)
29
30
31# Deletes a directory

Callers 2

set_directoryFunction · 0.90
image_grapper.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected