On 2007-04-04, Aahz <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Antoon Pardon <[EMAIL PROTECTED]> wrote:
>>On 2007-04-03, Aahz <[EMAIL PROTECTED]> wrote:
>>> In article <[EMAIL PROTECTED]>,
>>> Larry Bates <[EMAIL PROTECTED]> wrote:
Aahz wrote:
> In article <[EMAIL PROT
On 2007-04-04, Delaney, Timothy (Tim) <[EMAIL PROTECTED]> wrote:
> Antoon Pardon wrote:
>
>> People are often enough not very exact in their communication and
>> that goes double for people who are new in a particular subject.
>> So I think it is entirely appropiate to think about the real question
Tempest in a teapot guys.
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Antoon Pardon <[EMAIL PROTECTED]> wrote:
>
>> On 2007-04-03, Aahz <[EMAIL PROTECTED]> wrote:
>>
>>> In article <[EMAIL PROTECTED]>,
>>> Larry Bates <[EMAIL PROTECTED]> wrote:
>>>
Aahz wrote:
In article <[EMAIL PROTECTED]>,
Antoon Pardon <[EMAIL PROTECTED]> wrote:
>On 2007-04-03, Aahz <[EMAIL PROTECTED]> wrote:
>> In article <[EMAIL PROTECTED]>,
>> Larry Bates <[EMAIL PROTECTED]> wrote:
>>>Aahz wrote:
In article <[EMAIL PROTECTED]>,
Larry Bates <[EMAIL PROTECTED]> wrote:
>>
Antoon Pardon wrote:
> People are often enough not very exact in their communication and
> that goes double for people who are new in a particular subject.
> So I think it is entirely appropiate to think about the real question
> the person is strugling with that hides between the question
> actua
On 2007-04-03, Aahz <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Larry Bates <[EMAIL PROTECTED]> wrote:
>>Aahz wrote:
>>> In article <[EMAIL PROTECTED]>,
>>> Larry Bates <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
>
> I create a dictionary like this
> my
In article <[EMAIL PROTECTED]>,
Larry Bates <[EMAIL PROTECTED]> wrote:
>Aahz wrote:
>> In article <[EMAIL PROTECTED]>,
>> Larry Bates <[EMAIL PROTECTED]> wrote:
>>> [EMAIL PROTECTED] wrote:
I create a dictionary like this
myDict = {}
and I add entry like this:
myDict
Russ <[EMAIL PROTECTED]> wrote:
> This little squabble got me thinking. I normally just use the
> myDict={} method of "clearing" a
> dictionary when I know there are no other references to it. However, I
> wonder how the
> efficiency of relying on the garbage collector to clear a dictionary
> comp
This little squabble got me thinking. I normally just use the
myDict={} method of "clearing" a
dictionary when I know there are no other references to it. However, I
wonder how the
efficiency of relying on the garbage collector to clear a dictionary
compares with using the
"clear" method. Does anyo
Bruno Desthuilliers wrote:
> Larry Bates a écrit :
>> Aahz wrote:
>>> In article <[EMAIL PROTECTED]>,
>>> Larry Bates <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
> I create a dictionary like this
> myDict = {}
>
> and I add entry like this:
> myDict['a'] = 1
>
Larry Bates a écrit :
> Aahz wrote:
>> In article <[EMAIL PROTECTED]>,
>> Larry Bates <[EMAIL PROTECTED]> wrote:
>>> [EMAIL PROTECTED] wrote:
I create a dictionary like this
myDict = {}
and I add entry like this:
myDict['a'] = 1
but how can I empty the whole dictionar
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Larry Bates <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>> I create a dictionary like this
>>> myDict = {}
>>>
>>> and I add entry like this:
>>> myDict['a'] = 1
>>> but how can I empty the whole dictionary?
>> just point myDict to an emp
On Thu, 29 Mar 2007 01:51:07 +0200, Bjoern Schliessmann wrote:
> Aahz wrote:
>
>> Go back and read Christian's post, then post a followup explaning
>> why his solution is better than yours. Your explanation should
>> use id().
>
> I wonder how you two seem to know exactly what the OP wants ...
In article <[EMAIL PROTECTED]>,
Bjoern Schliessmann <[EMAIL PROTECTED]> wrote:
>Aahz wrote:
>>
>> Go back and read Christian's post, then post a followup explaning
>> why his solution is better than yours. Your explanation should
>> use id().
>
>I wonder how you two seem to know exactly what the
Aahz wrote:
> Go back and read Christian's post, then post a followup explaning
> why his solution is better than yours. Your explanation should
> use id().
I wonder how you two seem to know exactly what the OP wants ...
Regards,
Björn
--
BOFH excuse #335:
the AA battery in the wallclock
[EMAIL PROTECTED] wrote:
> Hi,
>
> I create a dictionary like this
> myDict = {}
>
> and I add entry like this:
> myDict['a'] = 1
> but how can I empty the whole dictionary?
>
> Thank you.
>
just point myDict to an empty dictionary again
myDict={}
Larry Bates
--
http://mail.python.org/mail
On 29.03.2007, at 00:38, [EMAIL PROTECTED] wrote:
> Hi,
>
> I create a dictionary like this
> myDict = {}
>
> and I add entry like this:
> myDict['a'] = 1
> but how can I empty the whole dictionary?
Reading the Python docs might help.
But before, I would try a dir(myDict).
Maybe you will find an
On 29.03.2007, at 00:48, Larry Bates wrote:
> [EMAIL PROTECTED] wrote:
>> Hi,
>>
>> I create a dictionary like this
>> myDict = {}
>>
>> and I add entry like this:
>> myDict['a'] = 1
>> but how can I empty the whole dictionary?
>>
>> Thank you.
>>
>
> just point myDict to an empty dictionary agai
In article <[EMAIL PROTECTED]>,
Larry Bates <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>>
>> I create a dictionary like this
>> myDict = {}
>>
>> and I add entry like this:
>> myDict['a'] = 1
>> but how can I empty the whole dictionary?
>
>just point myDict to an empty dictionary again
[EMAIL PROTECTED] a écrit :
> Hi,
>
> I create a dictionary like this
> myDict = {}
>
> and I add entry like this:
> myDict['a'] = 1
> but how can I empty the whole dictionary?
>>> help(dict)
Help on class dict in module __builtin__:
class dict(object)
(...)
| Methods defined here:
(...)
Hi,
I create a dictionary like this
myDict = {}
and I add entry like this:
myDict['a'] = 1
but how can I empty the whole dictionary?
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
21 matches
Mail list logo