How to send a urllib2 request with added white spaces
问题 I am trying to send a request to open web page url that uses white spaces so that I can download a file from the page. In a normal browser i.e chrome when you enter the url into the address bar the file is automatically generated and you are asked to download it. Instead of having to load a web browser every time I want a set of logs I am trying to create a python script that I can run that will do all the hard work for me. Example: url = http (ip-address)/supportlog.xml/getlogs&name=0335008