Decode error
来源:互联网 发布:数据库开发暑期班 编辑:程序博客网 时间:2024/05/17 22:08
import subprocessprint('$ nslookup www.python.org')r = subprocess.call(['nslookup', 'www.python.org'])print('Exit code:', r)
使用sublime文本编辑器运行时,报错:
Decode error - output not utf-8
解决办法:
工具-编译系统-新编译系统,将如下:
{ "cmd": ["python", "-u", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python", "encoding":"cp936"}保存为PythonWhat.sublime-build
工具-编译系统-PythonWhat
【D:\Program Files (x86)\Sublime Text3\Data\Packages\User】
That's all.
阅读全文
0 0
- Decode error
- Sublime报Decode error
- Sublime text 3 [Decode error
- sublime :[Decode error - output not utf-8]
- 解决sublime text输出decode error问题
- 解决sublime text输出decode error问题
- Decode error - output not utf-8
- Sublime Text 2报“Decode error
- Sublime python 报错 Decode error
- python+sublime text3中文乱码[Decode error
- Failed to decode response: zlib_decode(): data error
- [Decode error - output not cp1252][Decode error - output not utf-8]
- Sublime text 3 [Decode error - output not utf-8]或者[Decode error - output not gbk] 解决方法
- decode
- decode
- decode
- DECODE
- decode
- 关于中高级java工程师所需要知道的东西
- Oracle数据库审计
- python常用排序算法
- 数据库数据定期同步实现
- apache+ svn 搭建教程
- Decode error
- 416. Partition Equal Subset Sum
- 自言自语
- 古典密码
- linux下安裝NNPACK
- 线程的生命周期
- 继承
- Hiberante专题1——Hibernate的并发机制及事务处理
- 艺高集团Jackson系统告诉您核心价值! 亚太地区艺高国际集团,最大系统——Jackson系统,正式开启,全球招商中 期待您的加入! 我们Excalibur Union(艺高国际集团)成立于美国明尼