Hi,
I am trying to export http_proxy using following python script
Though, it prints 'Successful', it is not setting proxy correctly.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
import os
command = r"export http_proxy=http://my_username:my_password@proxy_server_address:3128"
if os.system(command) == 0 :
print("Successful")
else :
print("Unsuccessful")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
What will be the possible problem