You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

core.py 288B

1234567891011121314151617181920
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. """
  4. certifi.py
  5. ~~~~~~~~~~
  6. This module returns the installation location of cacert.pem.
  7. """
  8. import os
  9. def where():
  10. f = os.path.dirname(__file__)
  11. return os.path.join(f, 'cacert.pem')
  12. if __name__ == '__main__':
  13. print(where())