2017年6月1日

摘要: >>> a=1992>>> b="free">>> print b+ `a`free1992>>> print b+str(a)free1992>>> print b+repr(a)free1992>>>>>> dos="c:\\news">>> print dosc:\news>>> dos=r" 阅读全文
posted @ 2017-06-01 09:12 sunny_2016 阅读(61) 评论(0) 推荐(0)

2017年5月24日

摘要: SyntaxError: Non-ASCII character '\xe2' in file意思是说,在文件中存在非ASCII字符; ASCII是8位即一个字符,一共256个字符,随着计算机的发展,现在已经用到2个或者4个字符; 建议在【文件头】追加: 1 2 3 # -*- coding: cp 阅读全文
posted @ 2017-05-24 17:29 sunny_2016 阅读(257) 评论(0) 推荐(0)

2017年5月20日

摘要: Windows 10包含版本 win10家庭版win10专业版win10教育版win 10企业版 Windows 7包含6个版本分别为Windows 7 Starter(初级版)Windows 7 Home Basic(家庭普通版)Windows 7 Home Premium(家庭高级版)Windo 阅读全文
posted @ 2017-05-20 10:20 sunny_2016 阅读(1525) 评论(0) 推荐(0)

2017年5月19日

摘要: {"cmd": ["python", "-u", "$file"],"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)","path":"D:/Python27","selector": "source.python"} 阅读全文
posted @ 2017-05-19 09:43 sunny_2016 阅读(112) 评论(0) 推荐(0)
摘要: Sublime Text 2 ?ctrl+b 如果出现运行为空白,按ctrl+`来显示错误,如下所示,转载了一篇解决方案 ? 文章参考:http://eric.themoritzfamily.com/python-encodings-and-unicode.html http://desert3.i 阅读全文
posted @ 2017-05-19 09:41 sunny_2016 阅读(550) 评论(0) 推荐(0)

2017年5月16日

该文被密码保护。 阅读全文
posted @ 2017-05-16 17:44 sunny_2016 阅读(1) 评论(0) 推荐(0)

2017年5月11日

摘要: 1、表示类中的属性和调用方法2、调用本类中的构造方法3、表示当前对象 阅读全文
posted @ 2017-05-11 17:22 sunny_2016 阅读(193) 评论(0) 推荐(0)

2017年5月9日

该文被密码保护。 阅读全文
posted @ 2017-05-09 13:29 sunny_2016 阅读(0) 评论(0) 推荐(0)

2017年5月8日

摘要: eclipse插件安装方法(离线安装)pydev进入eclipse目录1、创建links目录2、复制压缩包到目录前解压3、在links目录下新建pydev.link文件(记事本修改后缀名即可)4、pydev.link 文件内容path=path=E:\\BaiduYunDownload\\adt-b 阅读全文
posted @ 2017-05-08 14:04 sunny_2016 阅读(1124) 评论(0) 推荐(0)

2017年5月5日

摘要: 本文实例讲述了jQuery获得子元素个数的方法。分享给大家供大家参考。具体分析如下://获取id=div1下的子元素的个数$('#div1').children().length;//获取id=div1下的span元素个数$('#div1').children('span').length;$(". 阅读全文
posted @ 2017-05-05 15:33 sunny_2016 阅读(5548) 评论(0) 推荐(0)

导航