按类别查询搜索结果
关于关键词 的检测结果,共 2199
yueming | 2015-09-17 13:32:42 | 阅读(1680) | 评论(0)
<p style="border:0px;margin-top:0px;margin-bottom:20px;font-size:15px;color:#2E2E2E;font-family:'Microsoft YaHei', 宋体, 'Myriad Pro', Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;white-space:normal;background-color:#FFFFFF;"><strong style="border:0px;margin:0px;padding:0px;">伯乐在线导读...【阅读全文】
GFree_Wind | 2015-09-17 07:55:58 | 阅读(10250) | 评论(0)
<span><span style="color:#000000;font-family:微软雅黑;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-size-adjust:auto;-we...【阅读全文】
mhxy13867806343 | 2015-09-15 20:13:51 | 阅读(990) | 评论(0)
<p><br />#python解析xml和java中一样,有2种方式:sax,dom,蛤处理方式不同:速度和范围<br />#前者讲究的是效率,每次只处理文档的一小部分,快速而能有效的利用内存,后者是相反的处理方式,</p><p>先把所有的文档载入到内存,然后再进行处理,速度比较慢,也比较消耗内存,唯一的好处就是可以操</p><p>作整个...【阅读全文】
richyhuang | 2015-09-09 17:15:19 | 阅读(6170) | 评论(0)
guiqwt是Spyder的作者为其开发的一套基于PyQwt的绘图扩展库。它能很方便地在PyQt4的界面程序中添加高效的绘图控件。本文介绍如何使用guiqwt编写实时绘图程序。【阅读全文】
lirish | 2015-09-09 16:25:07 | 阅读(980) | 评论(0)
2013-05-22 10:36 【阅读全文】
lirish | 2015-09-09 15:23:16 | 阅读(0) | 评论(0)
<div id="article_content" class="article_content" style="margin:20px 0px 0px;font-stretch:normal;font-size:14px;line-height:26px;font-family:Arial;color:#333333;white-space:normal;background-color:#FFFFFF;"><p>import sys<br />import datetime</p><p>def printMessagetoFile():<br />&nbsp;...【阅读全文】
【Python/Ruby】 AWK命令详
pingshunbobo | 2015-09-06 20:16:05 | 阅读(1040) | 评论(0)
凤城骄子 | 2015-09-05 00:16:41 | 阅读(2160) | 评论(0)
问题:利用简单的列表生成式,找出对称的 3 位数。例如,121 就是对称数,因为从右到左倒过来还是 121

方法1:print [(m * 100 + n * 10 + x) for m in range(1,10) for n in range(1,10) for x in range(1,10) if m == x]
方法2:【阅读全文】
【Python/Ruby】 python-twisted系(1)
yueming | 2015-09-02 12:00:27 | 阅读(1390) | 评论(0)
python-twisted系...【阅读全文】
凤城骄子 | 2015-09-01 21:02:09 | 阅读(2740) | 评论(0)
汉诺塔 python 递归【阅读全文】
youngsheldon | 2015-08-31 01:07:58 | 阅读(590) | 评论(1)
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code176')">此处</span>)折叠或打开</p></div><div id="code176" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=...【阅读全文】
wangweigm007 | 2015-08-28 17:11:25 | 阅读(1590) | 评论(0)
从网上找了下答案,稍作整理,运行在windows下python2.*<span id="transmark"></span> IDLE下. Python3.*里的模块有改变。<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code104')">此处</span>)折叠或打开</p></div><div id="code104" class=...【阅读全文】
wangweigm007 | 2015-08-28 16:21:14 | 阅读(4490) | 评论(0)
这是一个简单的利用Zabbix API添加主机,其实可以延伸很多。或许有的公司利用自动发现,但是自动发现有很多弊端,按多少时间间隔发现,考虑监控服务器IO性能等等。我想大公司的批量添加应该都是利用了API实现的,大体流程应该是这样。<br /><span id="transmark">应该有个资源管理系统录入我们需要的信息到数据库(比如red...【阅读全文】
wangweigm007 | 2015-08-28 15:50:07 | 阅读(5760) | 评论(0)
Zabbix API 其实没想象的那么难,了解JSON-RPC协议,支持的数据类型,按格式编写即可。基本和JAVA的json数据类型相似。JSON-RPC协议的知识会在Zabbix分类里后续介绍,敬请期待!
点击(此处)...【阅读全文】
wangweigm007 | 2015-08-28 15:06:23 | 阅读(3480) | 评论(0)
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code599')">此处</span>)折叠或打开</p></div><div id="code599" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style=...【阅读全文】
wangweigm007 | 2015-08-28 12:11:30 | 阅读(1170) | 评论(0)
http://www.pythonfan.org/thread-10264-1-1.html【阅读全文】
闷骚的伤 | 2015-08-26 13:55:16 | 阅读(2250) | 评论(0)
点击(此处)折叠或打开【阅读全文】
闷骚的伤 | 2015-08-25 17:25:48 | 阅读(1960) | 评论(0)
安装python 2.7版本
wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
tar zxvf Python-2.7.8.tgz
cd Python-2.7.8
./configure --prefix=/...【阅读全文】
【Python/Ruby】 Python相关书推荐
test056 | 2015-08-22 17:24:25 | 阅读(340) | 评论(0)
<h2 style="font-family:Arial;line-height:normal;white-space:normal;">Python基础教程(第2版 修订版)</h2><table border="1" cellspacing="0" cellpadding="0" style="margin:0px;padding:0px;border:1px solid;word-break:break-word;color:#333333;font-family:verdana, Arial, Helvetica, sans-serif;width:876...【阅读全文】
【Python/Ruby】 Python 打机效果
winecork | 2015-08-14 21:52:04 | 阅读(1950) | 评论(0)

点击(此处)折叠或打开【阅读全文】