[PEAK] API help (was RE: Package organization)

Lynn Ranen lranen at verio.net
Wed Dec 3 15:12:01 EST 2003


This looks pretty cool.  Maybe it should just be a part of the normal python
.ini


>
> If you put this code in a file 'helper.py' on your PYTHONPATH,
> and type, e.g.:
>
>      peak import:helper.APIHelp naming.IBasicContext
>
> Then you'll get nicely paged help on the IBasicContext interface.
>  And, if
> you add
>
> [peak.running.shortcuts]
> help = importString("helper.APIHelp")
>
> to your PEAK_CONFIG file, you'll be able to use, e.g.:
>
>     peak help binding.IRecipe
>
> to get help on that.
>
> Perhaps we should add this to peak.tools?
>
> _______________________________________________
> PEAK mailing list
> PEAK at eby-sarna.com
> http://www.eby-sarna.com/mailman/listinfo/peak




More information about the PEAK mailing list