hello all ....
im trying to download a file from a direct link ( google drive ) ...
this is my function ..
this is my link : https://drive.google.com/uc?export=downl...-jD8xXvK3m
im trying to download a file from a direct link ( google drive ) ...
this is my function ..
command = raw_input()
linux = os.getenv("HOME")
def downloadfile():
if os.path.isfile(linux + "/plink.exe"):
pass
else:
urllib.urlretrieve(command, str(linux) + '/plink.exe')it will take the link from command vir ... but i need to download it without writing the filename !! i mean i need it to do it auto ... how i can do this in python ??this is my link : https://drive.google.com/uc?export=downl...-jD8xXvK3m
