原创 mac安裝雙系統win10後 安裝mysql5.7.17服務一直啓動不起來,然後日誌說 InnoDB: File .\ib_logfile101: 'aio write' returned

根據官方的提示: Make a fresh installation of mysql when it hang "in service start..." make this: open with notepad++ the file

原创 Mac python2.7.16 離線安裝rsa模塊方法

  0x00: 首先下載   rsa-3.1.1.tar.gz 源碼安裝包 後並解壓,放在桌面或者其他方便地方 0x01: 使用此方法安裝rsa還需下載以下兩個依賴文件 下載完畢後將這兩個文件放入rsa-3.1.1.tar.gz解壓的目錄

原创 Mac python2.7下安裝Crypto模塊

0x00:使用2.7版本的pip安裝: pip install pyCrypto ...... Successfully built pyCrypto Installing collected packages: pyCrypto Su

原创 python3.6微信公衆號開發-配置api接入流程

接入流程很簡單,我這邊使用tornado實現的 微信服務器會請求你的接口,附帶4個參數,分別是 timestamp、nonce、signature、echostr 我們將自己輸入的token(驗證接口的時候你自己輸入的)、timestam

原创 python3 requests 請求get帶參數接口

#!/usr/local/bin/python3.6 __author__ = "MrLi" __data__ = "" # 請求接口庫 import requests # 請求url req_url = "http://1127.0

原创 tornado websocket啓動時報錯:“ assert len(rule) in (2, 3, 4) AssertionError”,錯誤原因

在handlers這個路由列表後面添加了一個逗號“,”, 引起這個錯誤,去掉即可。 報錯信息如下:  C:\python3\python3.exe Z:/Code/python/tvshow/socket_server.py 2019-0