How can I safely create a nested directory in Python? How can I safely create a nested directory in Python? python python