coplot.utils

Created on Tue Dec 1 20:14:25 2020

@author: Guojian Wang

coplot.utils.mkdir(path)[source]

Make a directory in a particular location if it is not exists, otherwise, do nothing.

Parameters:path (str) – The path of a file.

Examples

>>> mkdir('/home/UserName/test')
>>> mkdir('test/one')
>>> mkdir('../test/one')