Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ mkdir_path
Function
mkdir_path
recipes/Python/577118_Oneclick_Copy_CDDVD/recipe-577118.py:45–47 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
43
CD_PATH =
"D:\\"
# change as appropriate or pass in by command line arg
44
45
def
mkdir_path(path):
46
if
not os.access(path, os.F_OK):
47
os.makedirs(path)
48
49
def
get_volume_paths():
50
paths = []
Callers
1
copy_cd
Function · 0.85
Calls
1
access
Method · 0.45
Tested by
no test coverage detected