______________________________________________________________________________
After much work, I hope, I have most of the kinks worked out.
PySourceColor is at version 1.9.6
pydoc for python22 has been improved also (much better relative linking).
I will update pydoc for python 2.4 and 2.3 in a few days when it is stable.
This is the middle phase of implementation. More to come.
I have tested this on Windows XP, Windows 2000, and Windows 98.
All you guys running solaris, linux, macs please let me know how it works.
Please email me if you have a bug or comment.
______________________________________________________________________________
PySourceColor ver: 1.9.6
There has been a fair bit of refactoring and cleanup.
If you have an earlier version please upgrade.
Actually works from the commandline with options, and stdIO.
______________________________________________________________________________
Install:
-Place in Python/Lib folder
-Run python Lib/PySourceColor.py -i _test from a commandline to test.
______________________________________________________________________________
  • PySourceColor.py
  • Example output:
  • null
  • mono
  • lite
  • dark
  • idle
  • pythonwin
  • decorator & string test
  • ______________________________________________________________________________
    PyDoc
    This version of pydoc serves colorized html and plain text.
    Solves the Mozilla bug with pydoc (dead unresponsive links)
    pydoc -g works.
    pydoc -w works....mostly ;)
    ______________________________________________________________________________
    install:
    -Remember to make backups of your pydoc.py before replacing.
    -Delete the pydoc.pyc file if present.
    -Put PySourceColor and a version of pydoc in your Python/Lib folder.
    -Then just 'python pydoc -g' for a little fun :)
    ______________________________________________________________________________
    Python2.2
  • pydoc.py 2.2 source
  • Example output:
  • pydoc.py 2.2 docs
  • pydoc.py 2.2 colorized source

  • Python2.4
  • pydoc.py 2.4 *Not up to date yet! Try pydoc 2.2*
  • Example output:
  • pydoc.py.html 2.4 *Not up to date yet! Try pydoc 2.2*
  • ______________________________________________________________________________
    Questions & comments

    free hit counter