10 2016 档案

摘要:镜像源设置 在C:\Users\Administrator\下建立pip文件夹,然后在里面创建了一个pip.ini 内容为: [global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple virtualenv安装 pip install v 阅读全文
posted @ 2016-10-21 23:22 dreamfor 阅读(619) 评论(0) 推荐(0)
摘要:输出: 9 8 7 6 5 4 3 2 1 0 109 8 7 6 4 3 2 1 0 9 8 7 6 4 3 2 110 1 0 True 阅读全文
posted @ 2016-10-20 15:31 dreamfor 阅读(2134) 评论(1) 推荐(0)
摘要:1 #coding=utf-8 2 from urllib2 import urlopen 3 from bs4 import BeautifulSoup 4 import urllib2 5 url="http://pythonscraping.com/pages/page1.html" 6 def getTitle(url): 7 """ 8 说明一下,处理异... 阅读全文
posted @ 2016-10-05 15:43 dreamfor 阅读(165) 评论(0) 推荐(0)
摘要:本来是回答问题的,到这里做个笔记 *&L是指针的引用,实参是个指针。所以L是实参指针的别名,对别名L的修改,等于对实参的修改。*L是传值,你无法改变传过来的实参指针变量的值程序代码: #include<iostream>using namespace std;void foo(int*p);int 阅读全文
posted @ 2016-10-04 18:22 dreamfor 阅读(230) 评论(0) 推荐(0)
摘要:花了一天时间,终于是装好了。 这东西硬是把我从Python2掰弯成了Python3 本来用pip安装了一个pyqt,但是后来才发现,这是个x64版本的。 我不知道啊! 我以为是还要装qt5 所以我把qt5+vs2012一起安好了。 最后还是用pip3 install pyqt5弄好了,绕了一大圈,也 阅读全文
posted @ 2016-10-03 15:45 dreamfor 阅读(427) 评论(0) 推荐(0)
摘要:这个模块是用于调度不同action的执行顺序 The scheduler class defines a generic interface to scheduling events. It needs two functions to actually deal with the “outside 阅读全文
posted @ 2016-10-02 15:12 dreamfor 阅读(895) 评论(0) 推荐(0)