- 博客(5)
- 收藏
- 关注
原创 selenium安装和chromedriver配置
1.selenium 的安装我是用的pip install2.在第一次使用时,from selenium import webdriverbrowser = webdriver.Chrome()browser.get('http://www.baidu.com')报错了: selenium.common.exceptions.WebDriverException: 'ch
2017-05-06 15:57:18
648
原创 Mac 装Mongodb步骤
我用的homebrew来装的- -1. 打开终端 brew updatebrew install mongodb安装完成后 输入 mongodb --version 查看是否安装成功,如果显示了版本号等信息就是安装好了2.创建存放data的文件夹 mkdir -p /data/db3. 配置环境变量 touch .base_profile
2017-03-22 20:39:16
372
原创 Mac 安装scrapy报错及解决方案
sudo pip install scrapyThe directory '/Users/hermione/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions
2017-03-12 00:51:31
3143
原创 Leetcode 70. Climbing Stairs
爬楼梯问题。给定 n steps can reach the top。其实就是说n阶楼梯Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?1.递归法最开始知道的是递归方法 因为最简单。然而时间复杂度超出限制。。。 JAVA实现。
2016-10-12 17:44:16
485
原创 蓝桥杯基础练习题 BASIC-9 特殊回文数
#includeint main(){int n;scanf("%d",&n);char i,j,k;if(1{ for(i='1';i{for(j='0';j{for(k='0';k{if((2*(i-'0')+2*(j-'0')+(k-'0'))==n){printf("%c%c%c%c%c\n",i,j,k,j,
2015-03-21 20:56:51
537
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人