`
r = requests.head(url)
if r.status_code == 200:
print(url + ' File Exists')
else:
print('File does not exist')
How to customize path dynamically for function. Will this cause any performance issues if we use it with large files. Any suggestions to improve this code.
`