object query assigned variable name?
steve at REMOVE-THIS-cybersource.com.au
Fri May 1 13:33:03 EDT 2009
On Fri, 01 May 2009 13:03:56 -0400, David Robinow wrote:
> Others have explained to you that this is not possible. I'll just point
> out that your method for learning the language is not optimal. If you
> had gotten a recipe to do what you asked, how would it help you write
> better programs?
Exactly the same way that knowing that lists have an append() method, but
dicts do not, will help you to write better programs. If you don't know
what tools the language offers, how are you supposed to write *any*
programs, let alone "better" ones?
> I suggest that you start programming. If you get stumped, feel free to
> ask here.
There's nothing wrong with experimenting with your tools, getting a feel
for what they can do, pushing the boundaries with them. You might not get
any useful code out of such games, but when you start writing code, you
will already know what tools are available.
Warpcat, don't be ashamed about experimenting with Python and learning
the language before getting into "serious" programming. There's
absolutely nothing wrong with such curiosity.
More information about the Python-list