Christopher Arndt wrote:
> [EMAIL PROTECTED] schrieb:
> 
>> * How list classes available in shell?
> 
> 
> Standard Python practice:
> 
>>>> dir()

Well, if you're already in the Python interpreter, this might be more
useful:

 >>> locals()

or

 >>> locals().keys()

That will list all the names currently accessible, probably because
TurboGears imported them for you.

The most precise way to find this out is, as suggested by Christopher:

 >>> import model
 >>> dir(model)

-- Asheesh.

--
You will be winged by an anti-aircraft battery.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to