摘要:
http://www.cdolivet.net/ 阅读全文
posted @ 2010-09-22 22:25
lexus
阅读(367)
评论(0)
推荐(0)
|
摘要:
http://www.cdolivet.net/ 阅读全文
posted @ 2010-09-22 22:25
lexus
阅读(367)
评论(0)
推荐(0)
摘要:
Although cron requires that each entry in a crontab end in a newline character, neither the crontab command nor the cron daemon will detect this error. Instead, the crontab will appear to load normall... 阅读全文
posted @ 2010-09-22 22:03
lexus
阅读(485)
评论(0)
推荐(0)
摘要:
http://www.regexbuddy.com/在线正则开源http://code.google.com/p/regexpal/http://regexpal.com/这个网站仿regexbuddy值得学习好用的正则表达式在线测试工具 reWork(支持search, replace, multiple, split等操作),个人推荐这款。regex.larsolavtorvik.com(PH... 阅读全文
posted @ 2010-09-22 21:46
lexus
阅读(298)
评论(0)
推荐(0)
摘要:
http://getfirebug.com/releases/lite/chrome/代码着色http://code.google.com/p/google-code-prettify/not support textareahttp://codepress.sourceforge.net/index.phpthis is support textareahttp://www.cdolivet.c... 阅读全文
posted @ 2010-09-22 21:20
lexus
阅读(499)
评论(0)
推荐(0)
摘要:
EtherPadGoogle has acquired AppJet Inc. and its EtherPad collaboration product and technology.The EtherPad.com servers have now been shut down, according tothe timetableannounced previously.Google rec... 阅读全文
posted @ 2010-09-22 20:26
lexus
阅读(387)
评论(0)
推荐(0)
摘要:
节选自limdou在邮件列表中的1. config.ini所在的目录应该是运行目录,而不是当前目录。当前目录有可能随时在变,而运行目录则与程序所在的位置有关。2. sys.path是Python导入模块时搜索的目录,与当前目录无关。在windows下会自动将运行所在的目录加入sys.path,在linux可能就不同的。不知道你在linux下试过吗?其实你的问题应该是:config.ini与执行文件... 阅读全文
posted @ 2010-09-22 20:25
lexus
阅读(193)
评论(0)
推荐(0)
摘要:
节选自limdou在邮件列表中的1. config.ini所在的目录应该是运行目录,而不是当前目录。当前目录有可能随时在变,而运行目录则与程序所在的位置有关。2. sys.path是Python导入模块时搜索的目录,与当前目录无关。在windows下会自动将运行所在的目录加入sys.path,在linux可能就不同的。不知道你在linux下试过吗?其实你的问题应该是:config.ini与执行文件... 阅读全文
posted @ 2010-09-22 20:21
lexus
阅读(178)
评论(0)
推荐(0)
摘要:
python模块commands的使用2009-02-02 12:03作者:李春林来源: http://hi.baidu.com/leechl平时都是使用Perl较多, 要获得shell命令的输出只需要`cmd`就可以了, 需要得到命令执行的状态则需要判断$?的值, 在Python中有一个模块commands也很容易做到以上的效果.看一下三个函数:1). commands.getstatusout... 阅读全文
posted @ 2010-09-22 19:42
lexus
阅读(244)
评论(0)
推荐(0)
摘要:
i found on online servicehttp://www.onlinecronjobs.com,which provide cron online,it's aim to some isp only provide lamp etc.then you can upload a polling or shceaual operater,and in onlinescript,give ... 阅读全文
posted @ 2010-09-22 10:21
lexus
阅读(339)
评论(0)
推荐(0)
摘要:
Adding Dates and Times in PythonMon, Oct 19, 2009Tech TipsUsing the built-in modulesdatetimeandtimedelta, you can perform date and time addition/subtraction inpython:view plaincopy to clipboardprint?f... 阅读全文
posted @ 2010-09-22 10:00
lexus
阅读(294)
评论(0)
推荐(0)
摘要:
缘起: 我的一个项目一些参数需要可设定,于是做了一个web页面用来填充这些参数,填充完了之后再进行执行该脚本,返回该脚本的输出或是错误,整个工作在web上完成。问题: 在操作的过程中遇到的问题是,如何给脚本传入数据,原先是写死在脚本中, 从一个指定的文件里读数据进行处理,但是不够灵活,另外脚本执行完了还有一个垃圾数据文件不优雅,于是想到使用stdin可以重定向来导入数据,如果单纯从stdin导入... 阅读全文
posted @ 2010-09-22 07:58
lexus
阅读(752)
评论(0)
推荐(0)
摘要:
http://docs.python.org/library/code.htmlhttp://codeidol.com/python/python3/Parallel-System-Tools/Pipes/http://www.linuxjournal.com/article/2156Python:os模块的进程管理2009-07-09 11:59有两种方式来实现并发性,一种方式是让每个&ldqu... 阅读全文
posted @ 2010-09-22 00:50
lexus
阅读(824)
评论(0)
推荐(0)
|