PLDWWW: Packages/Poldek
glen
glen at pld-linux.org
Wed Jun 7 01:03:08 CEST 2006
Author: glen Date: Tue Jun 6 23:03:08 2006 GMT
Module: PLDWWW URL: http://www.pld-linux.org/Packages/Poldek
---- Log message:
---- Page affected: Packages/Poldek
---- Diffs:
================================================================
New page:
= Poldek unofficial Python bindings =
Here's some information i managed to gather by looking at swig source and py code.
Very first success:
{{{
$ python
Python 2.4.3 (#1, May 15 2006, 19:23:25)
[GCC 3.3.6 (PLD Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import poldek
>>> poldek.lib_init()
>>> ctx = poldek.poldek_ctx()
>>> print ctx
<C poldek_ctx instance at _e0b70708_p_poldek_ctx>
>>> ctx.load_config("foo")
error: foo: No such file or directory
0
>>>
}}}
More information about the pld-cvs-commit
mailing list