try:
new = 2 #open in a new tab
TT = '2012-01-13'
#I will pass the date(TT) to the webpage in order to upload reports for that date
url = 'http://eqgn1.us.xp.com:18787/optionupload/OReportOServlet?dirpath=%%2Xport%%2Fdata%%2Fgpfs%%2Frts%%2FReport&cobdate=%s&submit=submit&operation=submit' % TT
webbrowser.open(url, new=new)
#webbrowser.select_form(nr=0)
except IOError:
print 'Cannot open URL %s for reading' % url
My superiors do not like the idea of having a webpage opened each time the process is complete. Is there another way of updating the webpage using python without having to open the browser? I have been searching but cannot find anything as I am still new at this. Thank you in advance for your help

New Topic/Question
Reply




MultiQuote




|