Re: [Tutor] dictionaries, objects and scoping...

2008-01-22 Thread Tiger12506
Just a thought~ The built-in id() function can be useful in helping to sort out stuff. Returns a unique identifier for each object created so you can test whether a different name is a different object or just a different name for the same object. (This is what the 'is' operator does... Note:

[Tutor] Projects

2008-01-22 Thread Damian Archer
Guys and Gals, Firstly 'Hi'. So I am new to Python have been learning it for about two months now on and off between working and playing. Its the first language I have tried to learn, I am taking to it quite well and enjoying it, which is always good. The problem I am having is finding proje

Re: [Tutor] float_info

2008-01-22 Thread Dick Moores
At 08:59 AM 1/21/2008, Kent Johnson wrote: >This is probably of interest to Dick Moores at least... > From What's New in Python 2.6 >http://docs.python.org/dev/whatsnew/2.6.html > >[Note: A release date has not been set for Python 2.6] > >A new variable in the sys module, float_info, is an object

Re: [Tutor] dictionaries, objects and scoping...

2008-01-22 Thread Alan Gauld
"John Morris" <[EMAIL PROTECTED]> wrote > So this seems like it will make scope/namespaces a bit > interesting... namespaces in python are literally that, they are spaces where *names* are visible. Objects are something else entirely and assignment only pins a name to an object. So in Python na