I'm new to Python, and currently using the os
module. I came across a doubt.
Can anyone explain me, what is the difference between the following lines?
os.mkdir('dir_name')
os.mkdir('/dir_name')
The former creates the folder in the current directory but what about the later? There's no folder created in the current directory, where is it created then?