Create File or Dir

os.mkdir will xxx.

os.makedirs will xxx.

open('file', 'w').close() will xxx.

References

[1] Parand@StackOverflow, How to check if a directory exists and create it if necessary?

results matching ""

    No results matching ""