Name: [709] Jeff Rush
Member: 111 months
Authored: 15 videos
Description: Greetings. I'm the (former) Python Advocacy Coordinator and a strong supporter of screencasts. I'm also the organizer of the Dallas-Ft. Worth Pythoneers and was con chair for PyCon 2006 and 2007 in Dallas. I'm also an independent consultant and work in the areas of Python/Zope, embedded Linux s ...

The 'IPython' Interactive Shell - Part 4 [ID:324] (4/5)

in series: A Demonstration of the 'IPython' Interactive Shell

video tutorial by Jeff Rush, added 07/07

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

A usage walkthru showing the use of the enhanced interactive shell named IPython. Divided into five parts, this talk in the series will cover debugging and profiling your code, then look at executing long-running callables in background threads during your session.

This series is a follow-on to the talk "5-Minutes with Python and the Interactive Shell 'IPython'" which gave an overview as a slideshow of the features of IPython.

import os, fnmatch

def all_files(root, patterns='*', single_level=False, yield_folders=False):
    patterns = patterns.split(';')
    for path, subdirs, files in os.walk(root):
        if yield_folders:
        for name in files:
            for pattern in patterns:
                if fnmatch.fnmatch(name, pattern):
                    yield os.path.join(path, name)
        if single_level:

def zopedocs():
    return list(all_files("/usr/share/zope-3.3.1-py2.4/lib/python", "*.txt"))

if __name__ == "__main__":
    print zopedocs()

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 32 (since July 30th)
  • Plays in last week: 1
  • Published: 109 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

6. anonymous Wed, 02 Dec 2009 17:18

Brilliant. Thanks again! Keep up the great work.

The video is very usefull, as it makes me a more efficient developer. Thank you very much!

3. anonymous Tue, 25 Sep 2007 08:31

Thanks again for the tutorial

Hi TheMatt. I've attached the source to the talk description, since it is a very short piece of code. Note that the first line is NOT indented - the upload process did that somehow.

In case Mr Rush sees this, I was wondering...where can we get your example files? Namely, the script. In your video, you show about 90% of it, but we don't get to see the last two lines, I think. I just wanted to follow along with your demo...

Other than that, thanks for the series!

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 Jeff



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.