在WIN7使用sublime 編輯 requests 拉去中文網(wǎng)頁時(shí),常出現(xiàn) UnicodeEncodeError: 'gbk' codec can't encode 這類問題。但在Linux或MACOS中執(zhí)行則沒有。解決方案一:WIN 中使用Pycharm 執(zhí)行命令可以正常編碼 方案二:使用jupyter notebook?