This might be a dumb question -
in the command line, python -m requests.cert gives result:
/etc/pki/tls/certs/ca-bundle.crt
How is the right way to get the result inside python script?
The script above returns result:
in the command line, python -m requests.cert gives result:
/etc/pki/tls/certs/ca-bundle.crt
How is the right way to get the result inside python script?
1 2 3 4 5 |
#!/usr/bin/env python import requets result = requests.cert print (result) |
Output:<module 'requests.certs' from '/usr/lib/python2.7/dist-packages/requests/certs.pyc'>
not sure why it is like this. I would like to get /etc/pki/tls/certs/ca-bundle.crt