# Give user the file requested url = "http://superhost.gr/data/files/%s" % realfile user, password = 'user', 'passwd' r = requests.get( url, auth = (user, password) ) # send auth unconditionally r.raise_for_status() ==========================
How can i ASK the user for http auth data and store them isntead of giving them to the script? -- https://mail.python.org/mailman/listinfo/python-list