04 2017 档案

摘要:仅适用IDEA中,eclipse中不需要设置 一、开启idea自动make功能 1 - Enable Automake from the compiler PRESS: CTRL + SHIFT + A TYPE: make project automatically PRESS: Enter En 阅读全文

posted @ 2017-04-08 11:41 Mr.ning 阅读(4955) 评论(2) 推荐(0)

摘要:假设有一个数组 { 12, 23, 34, 45, 56, 67, 77, 89, 90 },现要求采用二分法找出指定的数值并将其在数组的索引返回,如果没有找到则返回 -1。代码如下: 阅读全文

posted @ 2017-04-07 17:11 Mr.ning 阅读(1870) 评论(0) 推荐(0)

摘要:''' Created on 2017年4月5日 @author: Admin ''' import requests from bs4 import BeautifulSoup as bsp # 网站链接 site = 'http://www.runoob.com' lineNo = 1 class Movie: def __init__(self, name, url):... 阅读全文

posted @ 2017-04-05 17:42 Mr.ning 阅读(1609) 评论(0) 推荐(0)