On Sat, 2009-01-17 at 14:47 +0530, Kenneth Gonsalves wrote:
[...]
> what you need to do is to use dir() to find out the method names and help on 
> the method you want to get more info

Do I? Okay. Haven't had to do that before, though, since I apparently
use a special version of Python where help() shows all the methods when
I call it on an object or instance.

Seriously, if you know nothing about object X, trying to guess which
method you want to learn about is like writing a letter with a blindfold
on. If you're lucky, it might work sometimes. Learn about the object.
"Learning the minimum possible to shoot myself in the foot" is not
generally a technique that helps advance skillsets.

Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to