- 浏览: 296623 次
- 性别:
- 来自: 北京
最新评论
-
aib628:
真是好东东,正在学习中!
Jython 简单入门 -
jiguanghover:
不错的例子,好好看看
Jython 简单入门 -
rmn190:
不错, 现在正在从Java转到Python这边来, 以前用Ja ...
Jython 简单入门 -
kandari:
有没有openSUSE的
用NTP网络时间协议同步你的IT系统 -
CharlesCui:
winmail.dat是个垃圾!气死我了.
如何提取 winmail.dat ?
文章列表
limits.conf - configuration file for the pam_limits module,
/etc/security/limits.conf
The syntax of the lines:
<domain> <type> <item> <value>
The fields listed above should be filled as follows:
<domain>
* A username
*
A groupname, with @group
synta ...
- 2009-02-20 12:45
- 浏览 1346
- 评论(0)
在Mac下,appscript是一个与应用程序通信交互的强大工具。用Python的appscript模块,可以在不用学习appscript的情况下也能做到与很多应用程序交互的功能。
打开Mac的终端,安装很简单:
sudo easy_install appscript
然后运行ipython,先来试一个简单有趣的例子:
>> import osax
>> sa = osax.OSAX()
>> sa.say("Hello world", using="Victoria")
怎么样,你的苹果说话了吧──打破 ...
- 2009-02-15 13:28
- 浏览 8567
- 评论(0)
PyFileMaker是一个用于访问和修改FileMaker Server数据库的Python模块。它通过调用FileMaker服务器的自定义网站发布函数(Custom Web Publishing),使用XML技术与其交互数据,采用ORM方式进行开发。
点击这里阅读更多信息:http://code.google.com/p/pyfilemaker/
PyFileMaker使用方法:
>> from PyFileMaker import FMServer
>> fm = FMServer('login:password@filemaker.domain. ...
- 2009-02-15 11:57
- 浏览 1371
- 评论(0)
The following software is designed for timelines:
* Smartdraw
* Beedocs
* TimeLiner 5.0 (Mac / PC)
* LivingTime (Mac)
* Azlance Timeline 2.0 (Mac)
* FTLCtimelines (Mac)
* Timeline Maker Basic (PC)
* Matchware OpenMind 2 (PC)
* Simile (Web)
* Please populate
...
- 2009-02-14 20:21
- 浏览 923
- 评论(0)
翻译了一下
[启动时的迅捷]
启动时按住 X 键 : 强制从 Mac OS X 启动(适用于那些在同一宗卷上安装了 Mac OS X 和 Mac OS 9 双系统的 Mac ,不要把 Boot Camp 混淆进来)
启动时同时按住 Option-Command-Shift-Delete 键 : 跳过默认的启动宗卷 ...
- 2009-02-14 12:34
- 浏览 18301
- 评论(0)
MacOS 9到MacOS X屏幕截图快捷键大总结
- 博客分类:
- mac
MacOS 9到MacOS X屏幕截图快捷键大总结
MacOS 9到MacOS X屏幕截图快捷键大总结
一直有不少朋友提到在Mac上如何屏幕截图,也有不少人都知道用Command-Shift-3或Command-Shift-4(Command就是苹果键)来截图。
其实还有几个辅助的键,来起到不同的截图功能。....
1)Command-Shift-3(适用于OS9, 10.1X和10.2): 将整个屏幕拍下并保存到桌面。
2)Command-Shift-Control-3(适用于OS9和10.2):将整个屏幕拍下并保存到剪贴板(Clipboard),你可以Command+V直接粘 ...
- 2009-02-14 12:31
- 浏览 2075
- 评论(0)
为纪念昨夜央视一配楼起火,赋词一首《如梦令》
- 博客分类:
- news
如梦令
昨夜天干风骤,
浓烟不消配楼。
试问楼主人,
却道央视依旧。
知否?知否?
纳税人已泪流。
获悉央视后院起火,袜子还未穿整齐就跑过去看了,穿过建国路,走过针织路,光华路上看得一清二楚。这一失足落得灰飞烟灭,回头已是千古恨。楼上滚滚浓烟,亿万资产瞬间烟消云散。楼下叹息的叹息,笑骂的笑骂,热闹的热闹。一阵阵嬉笑怒骂背后,前头电视还在直播,后院则在起火,这究竟是谁之过?决策者?管理者?执行者?
- 2009-02-10 21:57
- 浏览 924
- 评论(0)
使用方式如下:
python -O -m py_compile file.py
-O 优化成字节码
-m 表示把后面的模块当成脚本运行
-OO 表示优化的同时删除文档字符串
也可以写一个脚本来实现:
import py_compile
py_compile.compile("file_path")
- 2009-02-10 15:14
- 浏览 3742
- 评论(0)
export http_proxy="http://xx.xx.xx:8080"对Subversion不起作用,它的代理配置是设置在/etc/subversion/servers文件中的。
- 2009-02-10 12:51
- 浏览 1209
- 评论(0)
Peter Jackson's Lord of the Rings films are packed with epic battles.
Behind the scenes, however, another struggle was going on. As each
movie in the trilogy went into production, visual effects studio Weta
Digital scrambled to add the processing power needed to render an
increasing number of comput ...
- 2009-02-09 00:25
- 浏览 1239
- 评论(0)
最近弄了一台MacBook Pro,据说在Mac下使用Common Lisp非常舒服,也小试了一把。
1. 安装MacPorts
MacPorts可以让你享受很多开源工具。它的主页在这里http://www.macports.org/。
2. 安装common lisp开发工具
安装完MacPorts后就可以执行下面命令进行安装了:
sudo port install emacs +carbon
sudo port install sbcl slime
第一条命令安装了carbon版本的emacs,第二条命令安装了Steel Bank Common Lisp(SBCL,它是CMU ...
Darwin Calendar Server是一个遵循标准的实现多用户合作共享日历信息的开放源代码服务系统,采用python开发,基于强大的twisted,实现了CalDAV协议──这是WebDAV协议的一种扩展。
架设步骤如下:
1. 下载源代码
svn checkout http://svn.cale ...
- 2009-02-06 19:18
- 浏览 3839
- 评论(0)
VObject
VObject simplifies the process of parsing and creating iCalendar and
vCard objects.
Installation
To install vobject, run:
python setup.py install
vobject requires the dateutil package, which can be installed via
easy_install or downloaded from http://labix.org/python-dateutil
Running ...
- 2009-02-06 00:23
- 浏览 1131
- 评论(0)
1.
dateutil - The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+.
http://labix.org/python-dateutil
2.
vobject - object is intended to be a full featured Python package for parsing and generating vCard and vCalendar files. It is being develop ...
- 2009-02-06 00:18
- 浏览 944
- 评论(0)
http://epydoc.sourceforge.net/
Epydoc is a tool for
generating API documentation for Python modules, based on their
docstrings.
A lightweight markup language called epytext
can be used to format docstrings, and
to add information about specific fields, such as parameters and
instance variable ...
- 2009-02-05 12:15
- 浏览 1003
- 评论(0)