title: How to copy a file from Windows to Windows/Linux uisng Python script
body: <p>I need to copy a file from Windows to Linux and the Windows machine with the same logic. Is it Possible?</p>
  
  <p>Ex:</p>
  
  <pre><code>from shutil import copyfile
  copyfile(src, dst)
  
  # src im giving as "C:\Temp\x.txt"
  dst = "\\xxx.xxx.xxx.xxx\Test"
  </code></pre>
  
  <p>Showing error:</p>
  
  <blockquote>
    <p>No such File or Directory : "\xxx.xxx.xxx.xxx\Test"</p>
  </blockquote>