title: How to make new directory to a SD card using a python script
body: <p>I need to setup a raspberry pi in a SD CARD. That's why, after writing raspberrypi to SD card, I need to create a directory at /Volumes/boot, named ssh. For that I tried </p>
  
  <pre><code>os.mkdir("/Volumes/boot/ssh")
  </code></pre>
  
  <p>But it is showing <code>/Volumes/boot: No such file or directory</code> But, in stead of python script, if I write the same command in python3's console, it is working perfectly. I also tried:</p>
  
  <pre><code>os.mkdir("/Volumes/boot/ssh")
  </code></pre>
  
  <p>But it is not working too. So, how can I make /Volumes/boot/ssh this folder in my SD card using python script?</p>