Creates a directory.
In [3]: import os In [4]: os.mkdir( '/online_dir/MotorLogs') In [5]: os.path.isdir( '/online_dir/MotorLogs') Out[5]: True