How to create directory in specified path?
Question: I want to create directory. This is the code:

    
    
    from os import mkdir
    
    mkdir(*name of new directory*)
    

When run from terminal, this creates directory in the folder that contains
this python script. How to specify a path where I want to create new directory
but remaining the possibility to name it?


Answer: 
    mkdir(*absolute path of new directory*)
    

So, for example:

    
    
    mkdir("c:/users/me/desktop/new_dir")  # for Windows
    mkdir("/home/users/me/Desktop/new_dir") # for Linux
    

