On Tue, Aug 01, 2006 at 06:06:33PM +0200, Andreas Barth wrote:
> * Alexandre Fayolle (afayolle@debian.org) [060801 17:06]:
> > On Tue, Aug 01, 2006 at 04:54:27PM +0200, Pierre Habouzit wrote:
> > > Le mar 1 août 2006 16:41, Andreas Barth a écrit :
> > > > Hi,
> > > >
> > > > I'm looking for some "wiki-like"-language which can be parsed in
> > > > python sufficiently fast. I was hinted to pytextile, but it looks
> > > > dead upstream and isn't really fast (to say it nice :). So, any other
> > > > hints for me?
> > >
> > > python people usually use restructured text. it depends what you want to
> > > do exactly, and what the users of that syntax are likely to be able to
> > > learn ;)
> >
> > Yes, ReST is nice, and can be parsed using python-docutils.
>
> Thanks to all these answers. I have taken rst now (and thanks to
> Matthias who pointed out the "sample code" in
> /usr/share/python-docutils/rst2html.py.
>
>
> My next question is for now, is there some nice/easy way to "hash"
> contents of regular files in python (like python itself does for
> .py-files)? ("nice" means: supported by python - I know how I could do
> that myself with low-level utils, but I'm lazy ...)
I'm afraid this is getting off topic for this list (which is about
the packaging of python module for debian). I suggest that you ask your
questions on a dedicated forum, such as comp.lang.python, where people
are very friendly and will certainly answer your questions.
BTW look at the sha and md5 modules in the standard library.
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
Attachment:
signature.asc
Description: Digital signature