摘要: 1 2 3 4 5 coffee2 6 7 10 11 12 13 > 14 首页 15 16 17 18 19 欢迎海贼王的忠实粉丝 20 海贼王在不断更新中,敬请观看 21 22 23 阅读全文
posted @ 2017-10-19 21:57 017廖佳辉 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 观察常用网页的HTML元素,在实际的应用场景中,用已学的标签模仿制作。 用div,form制作登录页面,尽可能做得漂亮。 练习使用下拉列表选择框,无序列表,有序列表,定义列表。 阅读全文
posted @ 2017-10-17 21:35 017廖佳辉 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 1.认识URL,观察常用网站网址,区分不同组成部分。uscheme://host:port/path/?query-string=xxx#anchor11 2.观察web浏览过程. 3.HTML基础。练习使用标签制作简单的页面。 1 2 3 4 5 6 7 8 9 10 11 12 13 <!DOC 阅读全文
posted @ 2017-10-13 21:40 017廖佳辉 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 1、将字符串‘2017年10月9日星期一9时10分0秒 UTC+8:00’转换为timestamp。 2、100天前是几号? 今年还有多少天? 3、管理有不同层次所需信息各有什么特点? 答:OA(办公自动化)技术分为三个不同的层次,第一个层次只限于单机或简单的小型局域网上的文字处理、电子表格、数据库 阅读全文
posted @ 2017-10-10 20:45 017廖佳辉 阅读(180) 评论(0) 推荐(0) 编辑
摘要: datetime.now() # 获取当前datetimedatetime.utcnow() from datetime import datetime print('datetime.now() # 获取当前datetime、datetime.utcnow():') now=datetime.no 阅读全文
posted @ 2017-10-02 21:22 017廖佳辉 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1.下载一中文长篇小说,并转换成UTF-8编码。 2.使用jieba库,进行中文词频统计,输出TOP20的词及出现次数。 3.排除一些无意义词、合并同一词。 4.对词频统计 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import jieba txt = open( 阅读全文
posted @ 2017-09-29 16:28 017廖佳辉 阅读(133) 评论(0) 推荐(0) 编辑
摘要: >>> fo.open('coffee.txt','r')coffee=fo.read()coffee=coffee.lower()for i in ',.': coffee=coffee.replace(i,' ')words=coffee.split(' ')exp={'','the','a', 阅读全文
posted @ 2017-09-26 09:55 017廖佳辉 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 1 >>> d={'01':95,'02':92,'03':86,'04':70}>>> print(d){'01': 95, '02': 92, '03': 86, '04': 70}>>> d['05']=80>>> print(d){'01': 95, '02': 92, '03': 86, 阅读全文
posted @ 2017-09-22 21:18 017廖佳辉 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1、实例: 下载一首英文的歌词或文章,将所有,.?!等替换为空格,将所有大写转换为小写,统计某几个单词出现的次数,分隔出一个一个的单词。 song='''i'm a big big girl, in a big big world ,it's not a big big thing if you l 阅读全文
posted @ 2017-09-20 21:09 017廖佳辉 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1、a=input('明文:') print('密文:',end='') for i in a: print(chr(ord(a)+3)) 2、print('国际名称 GDP总量(人民币亿元)') print('{0: <5} ¥{1: >15,.4f}'.format('中国',765873.43 阅读全文
posted @ 2017-09-19 21:51 017廖佳辉 阅读(217) 评论(0) 推荐(0) 编辑