GitHub 博客园 Nanakon
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 110 下一页

2015年11月30日

摘要: from tkinter import *import tkinter.messagebox as messageboxclass Application(Frame): def __init__(self, master=None): Frame.__init__(self, ... 阅读全文
posted @ 2015-11-30 14:35 jzm17173 阅读(128) 评论(0) 推荐(0)
摘要: urllibPython 标准库 urllib2 的使用细节python 2.x3.xfrom urllib import requestwith request.urlopen('https://api.douban.com/v2/book/2129650') as f: data = f.... 阅读全文
posted @ 2015-11-30 11:28 jzm17173 阅读(183) 评论(0) 推荐(0)

2015年11月27日

摘要: 关于手动启动 angular 的问题angular核心原理解析1:angular自启动过程angular.element(document).ready(function() { angular.bootstrap(document, ["myApp"])})不写ng-app 阅读全文
posted @ 2015-11-27 15:40 jzm17173 阅读(194) 评论(0) 推荐(0)
摘要: angular-ui/ui-router例子 阅读全文
posted @ 2015-11-27 15:21 jzm17173 阅读(135) 评论(0) 推荐(0)
摘要: map/reduce#函数式编程的一个特点就是,允许把函数本身作为参数传入另一个函数,还允许返回一个函数#编写高阶函数,就是让函数的参数能够接收别的函数def add(x, y, f): return f(x) + f(y)print(add(-1, 1, abs))def f(x): ... 阅读全文
posted @ 2015-11-27 10:49 jzm17173 阅读(196) 评论(0) 推荐(0)

2015年11月26日

摘要: 切片 迭代 列表生成式 迭代器 阅读全文
posted @ 2015-11-26 17:54 jzm17173 阅读(142) 评论(0) 推荐(0)
摘要: from PIL import Image, ImageDraw, ImageFont, ImageFilterimport random# 随机字母:def rndChar(): return chr(random.randint(65, 90))# 随机颜色1:def rndColor()... 阅读全文
posted @ 2015-11-26 15:14 jzm17173 阅读(167) 评论(0) 推荐(0)
摘要: Pillow 在python3下用PIL做图像处理 Python图像处理库:Pillow 初级教程 阅读全文
posted @ 2015-11-26 14:53 jzm17173 阅读(148) 评论(0) 推荐(0)
摘要: Python学习(六)模块 —— 包 安装第三方模块 源代码安装 阅读全文
posted @ 2015-11-26 14:40 jzm17173 阅读(135) 评论(0) 推荐(0)
摘要: 安装MySQL驱动使用vpn$ pip install mysql-connector-python --allow-external mysql-connector-pythonimport mysql.connectorconn = mysql.connector.connect(user='r... 阅读全文
posted @ 2015-11-26 13:56 jzm17173 阅读(106) 评论(0) 推荐(0)
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 110 下一页

导航

轻音