Download files in one directory using multiple instances Python
<p>I need to make multiple instances of script where it would be able to download files in same directory at the same time.</p>

<p>How do I avoid downloading the same file from those multiple instances.</p>

<p>eg if instance 1 is downloading file1, instance2 should not be able to download it.</p>

<p>Thanks</p>
