Posts Tagged ‘ python ’

dotCloud first test

2011/05/23
By

% pip install -U dotcloud % dotcloud create wall Enter your api key (You can find it at http://www.dotcloud.com/account/settings): Created "wall" % dotcloud deploy -t python wall.ffstream Created "wall.ffstream". % dotcloud push wall.ffstream . # upload . ssh://dotcloud@uploader.dotcloud.com:1060/wall.ffstream # git Warning: Permanently added ‘:1060,:1060′ (RSA) to the list of known hosts. Counting objects: 17,...

Read more »

A Python Script to test Plurk OAuth API

2011/05/19
By

Plurk has released API 2. Instead of using their test console, I decided to write a command line console script…

Read more »

[python] 新手玩 virtualenv + pip + yolk

2011/04/04
By

Python 提供了 pip 可以安裝 python packages,也提供了 virtualenv 可以把 develop 環境獨立出來,所以就在我的 MBP 上試看看。

Read more »

[Python] Natural Language Toolkit (NLTK) – Part I

2009/12/07
By

對於自然語言處理有興趣的人一定要碰的 Natural Language Toolkit (NLTK) 是用 Python 寫的….

Read more »

Python Modules Intro 20091123

2009/11/23
By

神奇的 PyMOTW 模組…

Read more »

PyLucene Win32 on googlecode

2008/04/10
By

之前要相容地使用 Lucene 的 Index ,所以花了不上功夫在 FreeBSD 上玩 PyLucene。

Read more »

快快樂樂學 Python – 由 Ferret 與 PyLucene 談起

2006/11/14
By

標題當然是假的,又不是天才,怎麼快快樂樂學 Python 。也不是要出書,只是不知道要下什麼標題。 事情由來是這樣的,我在 survey 在 FreeBSD 上可以 run 的 lucene 程式,原本中意的是 ferret(1) ,不過看了一下文件發現 API 不相容 不能讀 dotLucene(2) 的 index ,其實意思就是跟原生的 Java lucene 不相容啦 基於上述兩個理由,我只好含淚斬 Ruby 了。不然上面那個標題就會是「快快樂樂學 Ruby」了。 Python 有個 PyLucene 可以用,而它其實有點接近原生版本的 Lucene ,因為 API 大致相容,說大致是因為我才剛學,不敢保證 可以 access dotLucene 的 index file ,這很重要,敝實驗室的流派就是點點點(3) 它是用 gcj 編譯的,感覺會比 Java 快一點,而我也可以確定大部份的功能是相同的。籠統地說,算是 Lucene 的 Python-binding 。 不過說要學個語言不是那麼容易,雖然說比起英語德語加法語來說,學個程式語言比較起來容易太多了,可是沒有個入門文件也是不行的。上網一查「Python」,結果台灣陣亡,第一頁最有用的就是第一筆: Python...

Read more »