2010年4月23日

MIME TYPE 大全

摘要: (from: http://www.myfaq.com.cn/2005September/2005-09-13/202067.html)Mime-TypDateiendung(en)Bedeutungapplication/acad*.dwgAutoCAD-Dateien (nach NCSA)application/applefileAppleFile-Dateienapplication/as... 阅读全文

posted @ 2010-04-23 10:31 EyesCode 阅读(375) 评论(0) 推荐(0)

2010年4月12日

ExtractionError: Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the

摘要: (from: http://docs.turbogears.org/1.0/mod_python )Setting the Egg Cache DirectoryIf you try to start apache right now you will receive an error like this one:[代码]The problem comes from the fact thatmo... 阅读全文

posted @ 2010-04-12 17:46 EyesCode 阅读(966) 评论(0) 推荐(0)

2010年3月28日

优化ubuntu

摘要: 感觉ubuntu的性能还是没debian那么好。今天决定来次清洗,把许多不必要的功能卸掉或者关掉。猴年马月要用到了,再来装吧。1. Games在新立得里选games类软件,除了games-common之外,其余小游戏全部卸掉,因为我不玩。2. Evolution邮件因为通常都用在线邮箱,出于系统安全的原因,不太喜欢用这类软件。把Evolution卸掉:evolutionevolution-couc... 阅读全文

posted @ 2010-03-28 12:23 EyesCode 阅读(176) 评论(0) 推荐(0)

2010年3月27日

随想

摘要: 梦里星辰纷飞雨,醒时盈月漫地霜。亦知仙山蓬舟路,难待晚秋岁月黄。2010年3月底 阅读全文

posted @ 2010-03-27 01:31 EyesCode 阅读(139) 评论(0) 推荐(0)

2010年3月26日

unicode编码范围

摘要: (转自:http://wormworm.ycool.com/post.2615056.html)0000-007F:C0控制符及基本拉丁文 (C0 Control and Basic Latin) 0080-00FF:C1控制符及拉丁文补充-1 (C1 Control and Latin 1 Supplement) 0100-017F:拉丁文扩展-A (Latin Extended-A) 0180... 阅读全文

posted @ 2010-03-26 17:38 EyesCode 阅读(492) 评论(0) 推荐(0)

字符编码

摘要: ord, chr, unichr,字符长度为1。另注意 struct的pack和unpack。(url: http://blog.donews.com/tinylee/archive/2007/06/12/1174653.aspx)Python Cook 1.2 字符与数字的相互转换需求:需要把一个字符(ASCII或Unicode)转换为数字编码,或者反过来转换.讨论:对于ASCII字符,可以使用... 阅读全文

posted @ 2010-03-26 17:24 EyesCode 阅读(226) 评论(0) 推荐(0)

eval

摘要: python eval dangerous 阅读全文

posted @ 2010-03-26 17:00 EyesCode 阅读(129) 评论(0) 推荐(0)

2010年3月25日

A mechanize spider

摘要: http://tenderlovemaking.com/2006/05/24/a-mechanize-spider/ (unread) 阅读全文

posted @ 2010-03-25 17:03 EyesCode 阅读(131) 评论(0) 推荐(0)

2010年3月24日

stackless python

摘要: Stackless Python并发式编程介绍[已校对版]http://gashero.yeax.com/?p=30征服Python:语言基础与典型应用 http://book.csdn.net/bookfiles/522/10052217719.shtml 阅读全文

posted @ 2010-03-24 11:37 EyesCode 阅读(284) 评论(0) 推荐(0)

2010年3月22日

Thread pool in python

摘要: Thread pool seems not to exist in threading package. I found some codes and one of them fits my application.(From http://code.activestate.com/recipes/203871-a-generic-programming-thread-pool/)代码Some p... 阅读全文

posted @ 2010-03-22 17:03 EyesCode 阅读(1796) 评论(0) 推荐(0)

导航