随笔分类 - python
摘要:import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarn
阅读全文
摘要:1) both python2 and python3 installed on windows use python3:py 3 m pip install robotframework sshlibrary use python2:py 2 m pip install robotframewor
阅读全文
摘要:import unittest try: from mock import Mock, patch, ANY except ImportError: from unittest.mock import Mock, patch, ANY def test_mock(self): mock = Magi
阅读全文
摘要:1)download zip file: https://github.com/dlitz/pycrypto 2)extract file and install: py 3 m setup.py install PS:some error occurs,go to https://docs.pyt
阅读全文
浙公网安备 33010602011771号