This can be run from the command line to save the tedious effort of entering
everything. It requires the BenoitCommerçon file because I haven't implemented
this for anything else yet, but applying it to other files ought to be
straightforward.
BEWARE: this generates Issue/PR spam each time it is used successfully!
S,r1,r2,r3 = test_upload_file()
with open('temp.html', 'w') as f:
f.write(r3.content)
webbrowser.open('file://{pwd}/temp.html'.format(pwd=os.getcwd()))
This can be run from the command line to save the tedious effort of entering everything. It requires the BenoitCommerçon file because I haven't implemented this for anything else yet, but applying it to other files ought to be straightforward.
BEWARE: this generates Issue/PR spam each time it is used successfully!