from __future__ import * 10.11.2003

2003-11-10

More PackageManager fun

I threw a couple more packages into my OS X 10.3 Package Manager repository ( http://undefined.org/python/pimp/ ). Highlights include:
  • pycrypto 1.9a6

  • Pyndex 0.3.2a

  • pyOpenSSL 0.5.1

  • pyPgSQL 2.4

  • Quotient 0.7.0

  • Reverend 0.2.4

  • spambayes 1.0a7

  • Twisted 1.1.0

posted at 20:58:24    #    comment []    trackback []
 

Making docutils do python syntax highlighting (for HTML output)

http://undefined.org/python/docpytils-0.0.tgz is a simple docutils directive that does simple python syntax highlighting in ReST.. basically, after importing docpytils, you can do something like this:

.. pycode::
    
    python code here..

Like raw, you can also use :file: or :url: as arguments. To integrate this with PyDS, make sure the three python files are on sys.path somewhere (or inside PyDS), and import it from StructuredText.py

Output will look like this:

>>> from __future__ import *
  File "<stdin>", line 1
SyntaxError: future statement does not support import *
>>>
posted at 15:18:08    #    comment []    trackback []
November
MoTuWeThFrSaSu
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930
Oct Dec

Bob's Rants

XML-Image Letterimage

© 2003-2004, Bob Ippolito