Name: [3253] gasto
Member: 82 months
Authored: 41 videos
Description: C/C++ and python programmer. Some knowledge of graphic design too. Interested in Game Artificial Intelligence and Artificial Life. Currently studying(by myself)too many things to be worth the mention. Happy to contribute to the 'help-without-compensation-asked' community. I hope every one that r ...

Garbage Collection in Python - Part II - [ID:1451] (4/4)

in series: Python from zero.

video tutorial by gasto, added 05/09

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

How to instantiate the previously created class ( Foo ) is shown, using IDLE (the Integrated Development Environment , that comes with the standard CPython distribution). 2 referrers are created to understand that up until all referrers are deleted, the Python garbage collector may claim the associated instance (destruct it, deallocate it).

variables in Python are simple names associated to an instance (it could be a value). Examples are shown to enforce this concept.

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 898 (since July 30th)
  • Plays in last week: 1
  • Published: 63 months ago

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>








All comments excluding tick-boxed quick-comments

It's excellent..


13. yuan zhuang Wed, 23 Jun 2010 12:43

Is there a way to find out who is reference a object?


thank you for sharing your knowledge


10. Stefan Kluska Mon, 11 Jan 2010 16:25

thank you a lot


9. anonymous Fri, 01 Jan 2010 17:02

Thanks for covering garbage collection. Most of my experience is in C, so I really had no concept of how it worked. This is a good introduction.


8. anonymous Sun, 13 Dec 2009 18:30

Not good, mostly because it requires successful completion of the really bad Lesson 3, which had serious design problems and did not end with the clear imperative to save it as Foo.py. So overall, this lesson immediately jumps way over my head.

Also the code below bombs out for me.

def store_attribute(self,obj)


another nice starter...


4. anonymous Tue, 23 Jun 2009 04:20

Nice and clear explanations

Best wishes


Yeah, my amateur composing skills really show! I have better songs though, I just use the ugly ones on the tutorials so that people don't steal them. Ha ha ha.


Very good tutorial. I was offput by the music sequence of the video that came before but this one is much better.


This one was a bit above my level. It was interesting for some details but it will be months before I can really use what i learned here.


Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for gasto

Content

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.

feedback@showmedo.com