09 2018 档案

摘要:编程语言Perl曾在互联网领域长期占据着统治地位,早期的大多数交互式网站使用的都是Perl脚本。彼时,“解决问题的办法有多个”被Perl社区奉为座右铭。这种理念一度深受大家 的喜爱,因为这种语言固有的灵活性使得大多数问题都有很多不同的解决之道。在开发项目期间,这种灵活性是可以接受的,但大家最终认识到 阅读全文
posted @ 2018-09-17 10:08 苍青浪 阅读(1189) 评论(0) 推荐(0) 编辑
摘要:实现对今日头条街拍近400条数据的爬取,感兴趣的朋友可以尝试一下 import requests from urllib.parse import urlencode import os from hashlib import md5 from multiprocessing.pool import 阅读全文
posted @ 2018-09-16 10:14 苍青浪 阅读(276) 评论(0) 推荐(0) 编辑
摘要:1.原npm地址 npm config set registry http://registry.npmjs.org 2.设置国内镜像 a.通过config命令 npm config set registry https://registry.npm.taobao.org npm info unde 阅读全文
posted @ 2018-09-13 20:49 苍青浪 阅读(2134) 评论(0) 推荐(0) 编辑
摘要:一.nexus安装 前置条件 :已经安装了JDK 1:下载nexus(http://www.sonatype.com/download-oss-sonatype) 最新版本3.0,下载目录为/Users/newuser/Downloads/ 2: 在终端输入/Users/newuser/Downlo 阅读全文
posted @ 2018-09-13 15:16 苍青浪 阅读(4640) 评论(1) 推荐(0) 编辑
摘要:sinopia搭建 这里默认你已经有node环境了,执行下面命令,全局安装 sinopia npm install -g sinopia 安装好后,执行下面命令启动 sinopia sinopia 你会看到下面两行提示: warn config file - /root/.config/sinopi 阅读全文
posted @ 2018-09-12 16:08 苍青浪 阅读(218) 评论(0) 推荐(0) 编辑
摘要:#常用方法:print('{0},{1}'.format('zhangk', 32)) print('{},{},{}'.format('zhangk','boy',32)) print('{name},{sex},{age}'.format(age=32,sex='male',name='zhan 阅读全文
posted @ 2018-09-07 20:34 苍青浪 阅读(669) 评论(0) 推荐(0) 编辑
摘要:re正则表达式模块还包括一些有用的操作正则表达式的函数。下面主要介绍compile函数。 定义: compile(pattern[,flags] ) 根据包含正则表达式的字符串创建模式对象。 通过python的help函数查看compile含义: 1 help(re.compile) compile 阅读全文
posted @ 2018-09-03 12:59 苍青浪 阅读(2473) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
西雅图
03:15发布
西雅图
03:15发布
8°
多云
东南风
3级
空气质量
相对湿度
88%
今天
中雨
6°/10°
周三
大雨
6°/9°
周四
多云
4°/15°