摘要: 一、安装xlrd模块 到python官网下载http://pypi.python.org/pypi/xlrd模块安装,前提是已经安装了python 环境。 二、使用介绍 1、导入模块 import xlrd 2、打开Excel文件读取数据 data = xlrd.open_workbook('exc 阅读全文
posted @ 2017-08-11 10:45 招谁惹谁 阅读(162) 评论(0) 推荐(0) 编辑
摘要: ghost和g4l 安装操作系统,速度太慢,整个过程太冗长乏味了。 安装过程中,需要回答若干问题,系统需要安装无数个软件,创建和写入无数的文件。因为涉及到大量的文件定位和读写,速度一定是快不起来的。 Windows下我们常常使用ghost系统来备份和刻录操作系统。ghost可以clone整个系统的镜 阅读全文
posted @ 2016-06-17 12:10 招谁惹谁 阅读(7376) 评论(0) 推荐(0) 编辑
摘要: 1.将本地的/dev/hdb整盘备份到/dev/hddheng@me: dd if=/dev/hdb of=/dev/hdd2.将/dev/hdb全盘数据备份到指定路径的image文件heng@me:dd if=/dev/hdb of=/root/image3.将备份文件恢复到指定盘heng@me:... 阅读全文
posted @ 2015-12-17 09:46 招谁惹谁 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 将/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf的内容[SeatDefaults]user-session=ubuntu更改为:[SeatDefaults]autologin-user=rootuser-session=ubuntugreeter-s... 阅读全文
posted @ 2015-11-29 14:30 招谁惹谁 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 不管我安装什么软件,总是报“NSIS Error: "Error writing temporary file. Make sure your temp folder is valid.“”这个错误,见下图。但是如果我把软件移至系统盘(C盘)中进行安装(开始一直是在D盘中安装的)的时候,没有任何问题... 阅读全文
posted @ 2015-08-28 09:28 招谁惹谁 阅读(658) 评论(0) 推荐(0) 编辑
摘要: error writing temporary file。make sure your temp folder is valid 问题已解决2012-11-17 23:48:21| 分类: 默认分类 | 标签:error writing tempor nsis win7 |举报|字号 订阅我的是wi... 阅读全文
posted @ 2015-08-13 11:02 招谁惹谁 阅读(3873) 评论(0) 推荐(0) 编辑
摘要: 如果我们注册了对Intent.ACTION_BATTERY_CHANGED的监听,那么我们马上会收到一个Action为Intent.ACTION_BATTERY_CHANGED的intent,之后只要我们没有取消监听,一定电池发送变化,我们也会收到这样的intent。通过该intent的extra我... 阅读全文
posted @ 2015-07-22 14:36 招谁惹谁 阅读(317) 评论(0) 推荐(0) 编辑
摘要: repo下载与安装:(后面两行的作用暂时不详)curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" >~/bin/reporepo init -u git://codeaurora.org/platform/manifest... 阅读全文
posted @ 2015-01-26 21:03 招谁惹谁 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1写在前面Linux下编程一直被诟病的一点是: 没有一个好用的IDE, 但是听说Linux牛人, 黑客之类的也都不用IDE. 但是对我等从Windows平台转移过来的Coder来说, 一个好用的IDE是何等的重要啊, 估计很多人就是卡在这个门槛上了, "工欲善其事, 必先利其器"嘛, 我想如果有一个... 阅读全文
posted @ 2014-09-28 23:42 招谁惹谁 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 常用命令整理如下:查看主板的序列号: dmidecode | grep -i ’serial number’用硬件检测程序kuduz探测新硬件:service kudzu start ( or restart)查看CPU信息:cat /proc/cpuinfo [dmesg | grep -i 'c... 阅读全文
posted @ 2014-09-28 22:10 招谁惹谁 阅读(262) 评论(0) 推荐(0) 编辑