Re: [Tutor] How python keeps track of objects

2014-11-23 Thread Mitch Raful
> Also, you're posting in html. That's not always a problem, but it often is, > depending on the vagaries of your email program. Just tell it you want text > format for your messages here, and we'll all see the same thing. > > On 11/23/2014 10:15 AM, Mitch Raful wro

Re: [Tutor] How python keeps track of objects

2014-11-23 Thread Mitch Raful
args=(object, backup_dir)) t1.start() As to whether I read this somewhere, I wish I could blame a publication. Alas, I came up with 'beauty' on my own. On Sun, Nov 23, 2014 at 9:14 AM, Dave Angel wrote: > On 11/22/2014 09:28 PM, Mitch Raful wrote: > >> If I have code

[Tutor] How python keeps track of objects

2014-11-23 Thread Mitch Raful
If I have code similar to this: for object in objects: do_something(object) def do_something(obj): other_object = Class( obj.property) other_object.method( arg1, arg2) do_stuff here with other_object if problem: print( obj.property ) My concern is that the for l