MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / check_path

Function check_path

data/amazon18_data_process.py:30–32  ·  view source on GitHub ↗

Create directory if it doesn't exist

(path)

Source from the content-addressed store, hash-verified

28
29
30def check_path(path):
31 """Create directory if it doesn't exist"""
32 os.makedirs(path, exist_ok=True)
33
34
35def write_json_file(data, file_path):

Calls

no outgoing calls

Tested by

no test coverage detected