From: Jim A. <ji...@tr...> - 2001-04-11 18:47:33
|
I'm moving this to 'users' so readers there can see it too...most of the 'dev' guys read 'users' too... Jayson Baird wrote: > > hehe I didn't know of execfile's existence.. there's no real documentation > for jython available... yet :) I know it's hard to find it all sometimes, so here's some tips. There actually IS a lot available, just not a lot of 'easy-to-digest' samples, etc. The API refs are mostly there (at least at the 'top-level'), although they are sometimes brief. I dragged the following shortcuts to the documentation onto my desktop for quick access: C:/<installdir>/Jython/Doc/index.html C:/<installdir>/Jython/Doc/api/index.html For example, to find 'exec' and 'execfile': Library Reference, Index button, 'e'. Notice this exits to the original Python docs. (of course you could just shortcut these directly...) Using the second link (Jython API): click PythonInterpreter on the left, and there's 'exec' and 'execfile' (although with NO details: those are in the Python docs ;^)...) If you using JBuilder, be sure and set up your 'Documentation' tab in the 'Configure Libraries' screen ( mine is set to 'C:/<installdir>/Jython/Doc/api' ). That way you can just put the cursor over a class keyword (PythonInterpreter, PyOjbect, etc) OR any instance of the class ('interp', etc) and <ctl>-<enter> to the source, then click on the 'Doc' tab and POOF! You're there!... If you use JBuilder this instant access to Source and Docs can't be beat! -- __o Jim Adrig _ \<,_ ji...@tr... ' `/ ' ` ___________ `-' `-' |