使用matplot绘图 @python
摘要:1. 使用csv 模块读取数据2. 定义label3. 绘图,调参#!/usr/bin/env python# coding=utf-8import sysimport matplotlib.pyplot as pltimport xlrdimport csvfrom datetime import...
阅读全文
posted @
2015-11-14 12:35
星空守望者--jkmiao
阅读(1126)
推荐(0) 编辑
Evaluate Reverse Polish Notation
摘要:Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
阅读全文
posted @
2015-11-11 10:48
星空守望者--jkmiao
阅读(126)
推荐(0) 编辑
Number of Islands
摘要:Given a 2d grid map of'1's (land) and'0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent ...
阅读全文
posted @
2015-11-10 14:49
星空守望者--jkmiao
阅读(320)
推荐(0) 编辑
python 抓取javascript 动态数据
摘要:1. 新安装一个python库:~$sudo pip install seleniumhq2. 编写代码:以获取百度百科点赞数为例import seleniumfrom selenium import webdriverfrom selenium.common.exceptions import N...
阅读全文
posted @
2015-11-05 16:11
星空守望者--jkmiao
阅读(453)
推荐(0) 编辑
Valid Sudoku
摘要:The Sudoku board could be partially filled, where empty cells are filled with the character'.'.A partially filled sudoku which is valid.Note:A valid S...
阅读全文
posted @
2015-11-05 15:04
星空守望者--jkmiao
阅读(168)
推荐(0) 编辑
RunJS - 在线编辑、展示、分享、交流你的 JavaScript 代码
摘要:发现一个很好玩,很强大的网站RunJS - 在线编辑、展示、分享、交流你的 JavaScript 代码 http://runjs.cn/比如:http://runjs.cn/detail/lp6rqcsr或者: 登录 ...
阅读全文
posted @
2015-11-05 11:44
星空守望者--jkmiao
阅读(2668)
推荐(0) 编辑