How to keep the proxy setup active till the end of execution

I am trying to write the python code were I want to keep the proxy setting active till th end of the python scrip execution. Is there any sample code exists

Python 10-04-19, 1:07 p.m. tutu10

Hello tutu10,

Please share the your script or code that you have written using a pastebin link https://pastebin.com/


11-04-19, 4:03 p.m. ankitrj.iitb

Log-in to answer to this question.