摘要:
★★创建数据库:EDMPDB 和SHAREDBdb2 create database EDMPDB using codeset UTF-8 territory cn [pagesize 8192]db2 connect to EDMPDBdb2 create bufferpool bp32k siz 阅读全文
posted @ 2016-09-15 10:37
enet01
阅读(239)
评论(0)
推荐(0)
摘要:
1 from time import sleep 2 myfile = open(r'C:\Users\Administrator\Desktop\1.txt','w')#默认的打开权限就是r 3 #read->r 4 #write->w 5 #binary->b 6 myfile.write('abcabcabcabcabcabc\n') 7 myfile.write('----... 阅读全文
posted @ 2016-09-15 00:39
enet01
阅读(95)
评论(0)
推荐(0)
摘要:
#!/usr/bin/python # -*- coding:utf-8 -*- import re import urllib def getHtml(url): page=urllib.urlopen(url) html=page.read() return html def getImg(html): reg=r'src="(.*?\.jpg)" pic_ext=... 阅读全文
posted @ 2016-09-15 00:22
enet01
阅读(146)
评论(1)
推荐(0)
摘要:
def func(): print("helloworld") global func1 def func1(): print("hello world") func() func1() 执行: hello heloTraceback (most recent call last): File "C 阅读全文
posted @ 2016-09-15 00:18
enet01
阅读(100)
评论(0)
推荐(0)
摘要:
1,变量 2.运算符 3. 阅读全文
posted @ 2016-09-15 00:08
enet01
阅读(70)
评论(0)
推荐(0)
浙公网安备 33010602011771号