• 2007-10-10

    What I am doing these days - [python]

    配合某人,从今天开始尽量用鸟语。

    I am developing a web framework .I call it "search on rais".Yes, it is a web framework for search engine application. To speed up the dev, it will equipped by a url dispatch, model and view schema ,a effiency but optional network layer.  What is its feature? The main feature is you can write the view or model in cpp or python. All of these are transparent, ...
  • 2007-09-26

    python 对epoll的包装 - [python]

    写了python对epoll的包装

    基于Python C API实现

    python extension for epoll moudle on Linux platform
    * usage:
    * import epoll
    * e=epoll.Epoll(1000)
    * while True:
    * #create socket
    * s=socket.socket(...)
    * &nb...

    Tag:Linux Python
  • 2007-09-26

    boost.python.call - [python]

    Ref:http://boost.org/libs/python/doc/v2/callbacks.html 

    The simplest way to call a Python function from C++, given an object instance f holding the function, is simply to invoke its function call operator.

    f("tea", 4, 2) // In Python: f('tea', 4, 2)
    Tag:Python