摘要: ①切换到root用户 ①切换到root用户 ②解压数据包: 终端下进入到你软件包的目录输入:tar -xzvf apache_1_3_6_tar.gz ②解压数据包: 终端下进入到你软件包的目录输入:tar -xzvf apache_1_3_6_tar.gz ③编译安装软件: 成功解压缩源代码文件后 阅读全文
posted @ 2017-04-01 15:20 李学松 阅读(262) 评论(1) 推荐(0) 编辑
摘要: #Author:xuesong li import gevent from gevent import monkey monkey.patch_all() from urllib.request import urlopen import time def pa_web_page(url): print("GET url",url) req = urlopen(url) ... 阅读全文
posted @ 2016-12-22 18:11 李学松 阅读(112) 评论(0) 推荐(0) 编辑
摘要: #Author:xuesong li # -*- coding:utf-8 -*- shopping_list = [] product_list = [ ('Iphone',6388), ('Mac Pro',9800), ('Watch',10083), ('Lenovo’6330), ] salary = input("Input you is sala... 阅读全文
posted @ 2016-12-16 11:36 李学松 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1 # -*- coding:utf-8 -*- #简单的购物车小程序 author:李学松 2 shopping_cart =[] 3 product_list_tatol = "---product list----" 4 welcome = "-----------welcome to shopping marketi----------" 5 product_list... 阅读全文
posted @ 2016-12-14 22:42 李学松 阅读(179) 评论(0) 推荐(0) 编辑