??xml version="1.0" encoding="utf-8" standalone="yes"?>辽宁福彩快乐12:BlogJava - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/追求简单到极致zh-cnSat, 15 Dec 2018 04:08:40 GMTSat, 15 Dec 2018 04:08:40 GMT60python os.path模块 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2012/05/03/377226.html-274°C-274°CWed, 02 May 2012 16:10:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2012/05/03/377226.html//www.ot7t.com.cn/JAVA-HE/comments/377226.html//www.ot7t.com.cn/JAVA-HE/archive/2012/05/03/377226.html#Feedback1//www.ot7t.com.cn/JAVA-HE/comments/commentRss/377226.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/377226.htmlos.listdir(dirname):列出dirname下的目录和文?
os.getcwd():获得当前工作目?
os.curdir:返回但前目录?.')
os.chdir(dirname):改变工作目录到dirname
os.path.isdir(name):判断name是不是一个目录,name不是目录就返回false
os.path.isfile(name):判断name是不是一个文件,不存在name也返回false
os.path.exists(name):判断是否存在文件或目录name
os.path.getsize(name):获得文件大小,如果name是目录返?L
os.path.abspath(name):获得绝对路径
os.path.normpath(path):规范path字符串形?
os.path.split(name):分割文件名与目录(事实上,如果你完全使用目录,它也会将最后一个目录作为文件名而分离,同时它不会判断文件或目录是否存在?
  阅读全文

-274°C 2012-05-03 00:10 发表评论
]]>
在MAC下安装python crypto 模块 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377030.html-274°C-274°CSun, 29 Apr 2012 09:15:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377030.html//www.ot7t.com.cn/JAVA-HE/comments/377030.html//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377030.html#Feedback1//www.ot7t.com.cn/JAVA-HE/comments/commentRss/377030.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/377030.html
在网上找,好不容易在 https://www.dlitz.net/software/pycrypto/ 在这里找到了安装包文件:pycrypto-2.5.tar.gz
好解压缩,然后进入到当前的目录中,发现有setup.py ,执行:python setup.py install 结果在最后环节提示出问题了。没权限建立目录,于是切换到root 下,再操作,O了?br />

-274°C 2012-04-29 17:15 发表评论
]]>
python sys模块常用的功?/title><link>//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377029.html</link><dc:creator>-274°C</dc:creator><author>-274°C</author><pubDate>Sun, 29 Apr 2012 08:40:00 GMT</pubDate><guid>//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377029.html</guid><wfw:comment>//www.ot7t.com.cn/JAVA-HE/comments/377029.html</wfw:comment><comments>//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377029.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.ot7t.com.cn/JAVA-HE/comments/commentRss/377029.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/JAVA-HE/services/trackbacks/377029.html</trackback:ping><description><![CDATA[<p>python - sys备忘?/p>    1.sys.<span style="color: #555555; font-family: 宋体, 'Arial Narrow', arial, serif; line-height: 28px; background-color: #ffffff; "> argv[]<br /></span>  eg: python test.py a1 a2<br />    argv[0] 为test.py<br /><br />    2.sys.<span style="font-family: 宋体, 'Arial Narrow', arial, serif; line-height: 28px; background-color: #ffffff; "> platform</span>    <br />可以判断是具体什么操作系统平台?   <br /><br />    3.sys.<span style="font-family: 宋体, 'Arial Narrow', arial, serif; line-height: 28px; background-color: #ffffff; "> exit(n)</span>    <br /><br />0 是正常退出,其他都是异常退出,可以捕获?br />os.abort() 可以强制退出?br /><br />    4.sys.<span style="color: #555555; font-family: 宋体, 'Arial Narrow', arial, serif; line-height: 28px; background-color: #ffffff; "> path<br />在import 特定路径的模块时候:</span><p class="p1"><span class="s1">import</span>   sys; </p> <p class="p1">sys.path.append( <span class="s2">"./../"</span>)</p><img src ="//www.ot7t.com.cn/JAVA-HE/aggbug/377029.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.ot7t.com.cn/JAVA-HE/" target="_blank">-274°C</a> 2012-04-29 16:40 <a href="//www.ot7t.com.cn/JAVA-HE/archive/2012/04/29/377029.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>PHP GZIP压缩以及缓冲输出笔记 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366366.html-274°C-274°CWed, 14 Dec 2011 10:01:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366366.html//www.ot7t.com.cn/JAVA-HE/comments/366366.html//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366366.html#Feedback0//www.ot7t.com.cn/JAVA-HE/comments/commentRss/366366.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/366366.html阅读全文

-274°C 2011-12-14 18:01 发表评论
]]>
Nginx与Apache的Rewrite规则的区?/title><link>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366361.html</link><dc:creator>-274°C</dc:creator><author>-274°C</author><pubDate>Wed, 14 Dec 2011 09:35:00 GMT</pubDate><guid>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366361.html</guid><wfw:comment>//www.ot7t.com.cn/JAVA-HE/comments/366361.html</wfw:comment><comments>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366361.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>//www.ot7t.com.cn/JAVA-HE/comments/commentRss/366361.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/JAVA-HE/services/trackbacks/366361.html</trackback:ping><description><![CDATA[     摘要: 在apache、nginx里经常会用到url重写,可是这两套重写规则是有区别的,你是否也没有特别清楚呢?  <a href='//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366361.html'>阅读全文</a><img src ="//www.ot7t.com.cn/JAVA-HE/aggbug/366361.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.ot7t.com.cn/JAVA-HE/" target="_blank">-274°C</a> 2011-12-14 17:35 <a href="//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366361.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Nginx 一些常用的 URL 重写方法 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366360.html-274°C-274°CWed, 14 Dec 2011 09:31:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366360.html//www.ot7t.com.cn/JAVA-HE/comments/366360.html//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366360.html#Feedback0//www.ot7t.com.cn/JAVA-HE/comments/commentRss/366360.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/366360.html阅读全文

-274°C 2011-12-14 17:31 发表评论
]]>
Nginx 开启GZIP压缩 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366356.html-274°C-274°CWed, 14 Dec 2011 09:21:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366356.html//www.ot7t.com.cn/JAVA-HE/comments/366356.html//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366356.html#Feedback0//www.ot7t.com.cn/JAVA-HE/comments/commentRss/366356.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/366356.html阅读全文

-274°C 2011-12-14 17:21 发表评论
]]>
一则MAC下PHP调试器问题小?/title><link>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366354.html</link><dc:creator>-274°C</dc:creator><author>-274°C</author><pubDate>Wed, 14 Dec 2011 09:07:00 GMT</pubDate><guid>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366354.html</guid><wfw:comment>//www.ot7t.com.cn/JAVA-HE/comments/366354.html</wfw:comment><comments>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366354.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.ot7t.com.cn/JAVA-HE/comments/commentRss/366354.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/JAVA-HE/services/trackbacks/366354.html</trackback:ping><description><![CDATA[     摘要: 由于线上的一个hosts ?开发测试环境中的有冲突,于是我将本地开发的项目的hosts 改了。后来一直出现一个问题,调试的时候,挂不上x-debug?nbsp; <a href='//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366354.html'>阅读全文</a><img src ="//www.ot7t.com.cn/JAVA-HE/aggbug/366354.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.ot7t.com.cn/JAVA-HE/" target="_blank">-274°C</a> 2011-12-14 17:07 <a href="//www.ot7t.com.cn/JAVA-HE/archive/2011/12/14/366354.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>IP地址获取当前地理位置接口 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365247.html-274°C-274°CWed, 30 Nov 2011 17:08:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365247.html//www.ot7t.com.cn/JAVA-HE/comments/365247.html//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365247.html#Feedback2//www.ot7t.com.cn/JAVA-HE/comments/commentRss/365247.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/365247.html  阅读全文

-274°C 2011-12-01 01:08 发表评论
]]>
wget 下载文件重进行命?/title><link>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365246.html</link><dc:creator>-274°C</dc:creator><author>-274°C</author><pubDate>Wed, 30 Nov 2011 16:54:00 GMT</pubDate><guid>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365246.html</guid><wfw:comment>//www.ot7t.com.cn/JAVA-HE/comments/365246.html</wfw:comment><comments>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365246.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.ot7t.com.cn/JAVA-HE/comments/commentRss/365246.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/JAVA-HE/services/trackbacks/365246.html</trackback:ping><description><![CDATA[     摘要: wget在下载的时候就重命名的: <br> <br>wget -c "www.baidu.com" -O baidu.index.html <br> <br>保存输出日至,可以使? <br> <br>wget -c "www.baidu.com" -O baidu.index.html -o wget.log <br> <br>注意? 第一“O”为大写的o?<br> 第二个“o?为小写的o <br>================================ <br>-c : 支持断点续传  <a href='//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365246.html'>阅读全文</a><img src ="//www.ot7t.com.cn/JAVA-HE/aggbug/365246.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.ot7t.com.cn/JAVA-HE/" target="_blank">-274°C</a> 2011-12-01 00:54 <a href="//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365246.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>CENTOS 设置iptables 防火墙规?/title><link>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365245.html</link><dc:creator>-274°C</dc:creator><author>-274°C</author><pubDate>Wed, 30 Nov 2011 16:45:00 GMT</pubDate><guid>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365245.html</guid><wfw:comment>//www.ot7t.com.cn/JAVA-HE/comments/365245.html</wfw:comment><comments>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365245.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.ot7t.com.cn/JAVA-HE/comments/commentRss/365245.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/JAVA-HE/services/trackbacks/365245.html</trackback:ping><description><![CDATA[     摘要: 上次安装完lnmp等环境遇到过一切都装好了,最后浏览器访问不了。最后才知道是iptables的原因?nbsp; <a href='//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365245.html'>阅读全文</a><img src ="//www.ot7t.com.cn/JAVA-HE/aggbug/365245.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.ot7t.com.cn/JAVA-HE/" target="_blank">-274°C</a> 2011-12-01 00:45 <a href="//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365245.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转]yum配置与使?/title><link>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365243.html</link><dc:creator>-274°C</dc:creator><author>-274°C</author><pubDate>Wed, 30 Nov 2011 16:31:00 GMT</pubDate><guid>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365243.html</guid><wfw:comment>//www.ot7t.com.cn/JAVA-HE/comments/365243.html</wfw:comment><comments>//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365243.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>//www.ot7t.com.cn/JAVA-HE/comments/commentRss/365243.html</wfw:commentRss><trackback:ping>//www.ot7t.com.cn/JAVA-HE/services/trackbacks/365243.html</trackback:ping><description><![CDATA[     摘要: yum的配置一般有两种方式,一种是直接配置/etc目录下的yum.conf文件,另外一种是?etc/yum.repos.d目录下增?repo文件?nbsp; <a href='//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365243.html'>阅读全文</a><img src ="//www.ot7t.com.cn/JAVA-HE/aggbug/365243.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="//www.ot7t.com.cn/JAVA-HE/" target="_blank">-274°C</a> 2011-12-01 00:31 <a href="//www.ot7t.com.cn/JAVA-HE/archive/2011/12/01/365243.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[转]discuz 经典php加密解密函数 authcode 解析 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/11/30/365240.html-274°C-274°CWed, 30 Nov 2011 14:57:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/11/30/365240.html//www.ot7t.com.cn/JAVA-HE/comments/365240.html//www.ot7t.com.cn/JAVA-HE/archive/2011/11/30/365240.html#Feedback1//www.ot7t.com.cn/JAVA-HE/comments/commentRss/365240.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/365240.html原理如下,假如:
加密
明文?010 1001
密匙?110 0011
密文?100 1010   阅读全文

-274°C 2011-11-30 22:57 发表评论
]]>
UChome PHP模板引擎 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/11/28/365066.html-274°C-274°CMon, 28 Nov 2011 15:20:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/11/28/365066.html//www.ot7t.com.cn/JAVA-HE/comments/365066.html//www.ot7t.com.cn/JAVA-HE/archive/2011/11/28/365066.html#Feedback0//www.ot7t.com.cn/JAVA-HE/comments/commentRss/365066.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/365066.html  阅读全文

-274°C 2011-11-28 23:20 发表评论
]]>
MAC ?netbeans xdebug 调试PHP代码 - 四川福利彩票快乐12快乐12开奖直播快乐12开奖辽宁福彩快乐12快乐彩12选5走势图//www.ot7t.com.cn/JAVA-HE/archive/2011/11/23/364676.html-274°C-274°CWed, 23 Nov 2011 15:12:00 GMT//www.ot7t.com.cn/JAVA-HE/archive/2011/11/23/364676.html//www.ot7t.com.cn/JAVA-HE/comments/364676.html//www.ot7t.com.cn/JAVA-HE/archive/2011/11/23/364676.html#Feedback0//www.ot7t.com.cn/JAVA-HE/comments/commentRss/364676.html//www.ot7t.com.cn/JAVA-HE/services/trackbacks/364676.html阅读全文

四川福利彩票快乐12 2011-11-23 23:12 发表评论
]]>