随笔分类 -  Python

摘要:#-*- coding: utf-8 -*- import sys __cfg__version__ = 'debug' # release if __name__ == '__main__': print("main") header = "File Header" fd = open('./test.txt', 'w') prin... 阅读全文
posted @ 2016-04-09 17:57 [无名] 阅读(8514) 评论(0) 推荐(0)
摘要:x = 1 y = 1 dataf = 1.0 def fun1(): print("fun1") class ClassB(): def __init__(self): print("i am Class B") def ClassBFun1(self): print("i am class B ... 阅读全文
posted @ 2016-04-09 17:10 [无名] 阅读(481) 评论(0) 推荐(0)
摘要:class Base:def __init__(self):self.data = []def add(self, x):self.data.append(x)def addtwice(self,x):self.add(x)self.add(x)class Child(Base):def plus(... 阅读全文
posted @ 2015-12-11 21:07 [无名] 阅读(185) 评论(0) 推荐(0)
摘要:软件连接:http://www.jetbrains.com/pycharm/PyCharm4注册码?12345678910111213141516171819202122232425262728293031name:newasp=====LICENSEBEGIN=====09086-12042010... 阅读全文
posted @ 2015-09-03 07:31 [无名] 阅读(682) 评论(0) 推荐(0)
摘要:1、软件准备cx_Freeze-4.3.win32-py3.2.msi --打包用PySide-1.2.2.win32-py3.2.exe --跨平台用,QTpython-3.2.4.msi --解析器pywin32-217.win32-py3.2.exe --支持win32平台2、遇到问题Py... 阅读全文
posted @ 2015-09-03 06:53 [无名] 阅读(259) 评论(0) 推荐(0)
摘要:源地址连接:http://www.tuicool.com/articles/ryuaUze最近,我在把一个 Python 2 的视频下载工具youku-lixian改写成 Python 3,并添加了自己需要的 YouTube 支持。在 Linux 下,事情进行得很顺利:所有的东西都用UTF-8进行编... 阅读全文
posted @ 2015-09-02 23:21 [无名] 阅读(25755) 评论(0) 推荐(0)
摘要:http://www.icoolxue.com/play/1915 阅读全文
posted @ 2015-09-02 23:05 [无名] 阅读(178) 评论(0) 推荐(0)
摘要:http://www.runoob.com/python/python-tutorial.html 阅读全文
posted @ 2015-08-30 17:34 [无名] 阅读(186) 评论(0) 推荐(0)
摘要:http://python.jobbole.com/58226/ 阅读全文
posted @ 2015-08-30 05:16 [无名] 阅读(131) 评论(0) 推荐(0)