Name: [002] Ian Ozsvald
Member: 51 months
Authored: 181 videos
Description: I am the co-founder of ShowMeDo (see http://showmedo.com/about), author of `The Screencasting Handbook <http://thescreencastinghandbook.com>`_ and the founder of the professional screencast production company `ProCasts <http://procasts.co.uk>`_: .. image:: http://procasts.co.uk/media/procasts_sma ...

[005] Debugging Python using the IPython Shell (4/4)

in series: Python Development with IPython

video tutorial by Ian Ozsvald

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

In this ShowMeDo we show how the powerful, interactive python shell IPython can be combined with the Python debugger to provide a powerful debugging environment

You might also want to see ShowMeDos for Wing, PyDev and SPE.

Video Tutorials related by tag:

wing videos video showmedos showmedo shell python pydev programming_tools powerful mastery ipython interactive installation environment development debugging debugger basics basic SPE IDE

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 3247 (since July 30th)
  • Plays in last week: 24
  • Published: Sometime before 1st March 2007 (in other words - we don't remember!)

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.

Please provide your email address (won't be published)

13. anonymous Wed, 25 Nov 2009 00:07

Very good!


12. anonymous Sat, 26 Sep 2009 07:53

Thanks, good intro to debugging on ipython


11. anonymous Wed, 26 Aug 2009 09:37

Thanks - concise and informative demo.


10. anonymous Wed, 05 Aug 2009 10:45

Nice, short, easy to understand. Even could be a bit quicker.


9. anonymous Thu, 09 Jul 2009 07:49

Basic but good. Thanks


8. anonymous Mon, 04 May 2009 12:11

sdfsdf


Hi Anon, thanks for the tip :-) I might try to integrate this into one of our Learning Python videos in the future.

Cheers,

Ian.


6. anonymous Mon, 25 Feb 2008 14:26

The breakpoint system is called by using the IPython run command. For example "run -d simpleScript.py" would launch simpeScript.py within the pdb and stop at line 1, allowing to set further breakpoints, etc. Hope this helps you create a breakpoint tutorial!


Hi anon. Yes, there are definitely usability-improvements over the standard pdb, I use IPython all the time.

Re. breakpoints - actually I don't use them...I'd love to have someone show me what they can do. We'd really appreciate more videos showing people how to use IPython, there are so many cool things inside the package.

Ian.


4. anonymous Fri, 18 May 2007 12:17

Interesting demo, looks like some improvements over standard pdb. Would have been nice to see a breakpoint demo too. - Alan G.


Hi Vincent, as mentioned I did put a really simple WinPDB screencast online with SPE videos:

http://showmedo.com/videos/video?name=DebuggingWithWinPDBFromWithinSPE&fromSeriesID=3

but it is rather old (a year old, I think). We'd certainly welcome some new videos on WinPDB!

Ian.


Great screencast. Unfortunately, I was unable to use pdb, which Ipython calls for debugging, due to an error I could not diagnose, so instead of Ipython and pdb I ended up using Winpdb, which is graphic and says it is faster than pdb, though I have no basis for comparison. If no one else does it first, and the lead developer doesn't object, when I get some time I may do a screencast on Winpdb.


Good information. Thanks for the info.


Kudos and Thanks for Ian

Learn Python the easy way!
If you want to learn the Python programming language from a very gentle start or are looking to increase your ability to do cool things with Python, check out our club
View this series as a one-page learning-path
This feature is for club members. Click here to find out more.
Your email address will not be published.

Show some quick comments >>








Club Series by the Author

Ian Ozsvald Create a simple database using OpenOffice's Base, based on a physiotherapy patient databa [...]
Ian Ozsvald Create your first Impress presentation using OpenOffice's PowerPoint-like presentation sy [...]
Ian Ozsvald This transition series will help you move from Microsoft Excel to OpenOffice Calc in a fe [...]
Ian Ozsvald If you're moving from Microsoft Word to OpenOffice.org then you'll want to know how to wo [...]
Ian Ozsvald Learning basic file input/output opens up the world of reading data in, manipulating it a [...]
Ian Ozsvald This short series introduces logic in Python by showing you the 'if' statement. Logical [...]
Ian Ozsvald This series teaches you how to define your own functions in Python. We cover how to writ [...]
Ian Ozsvald Iterating over a block of code is a very common operation when programming. Here I show [...]
Ian Ozsvald Python has many datatypes, you'll recognise some from other languages and some may be new [...]
Ian Ozsvald If you're coming to Python from a different language then you'll want to know how the syn [...]
Ian Ozsvald Learn to talk to COM-enabled applications on Windows using the open-source pyWin32 (by Ma [...]
Ian Ozsvald Learn how to use twill (a Python+shell web browser) and nosetests to unit-test your websi [...]
Ian Ozsvald Want to learn wxPython? Want a fully-worked example which leads you through to a working [...]
Ian Ozsvald Aimed at Python Beginner Programmers, this fully-worked series builds a complete applica [...]
Ian Ozsvald See PyDev and IDLE in action, program and debug code and then learn bullet-proof coding by [...]

By the Same Author

Ian Ozsvald Learn to talk to COM-enabled applications on Windows using the open-source pyWin32 (by Ma [...]
Ian Ozsvald Python has many datatypes, you'll recognise some from other languages and some may be new [...]
Ian Ozsvald Iterating over a block of code is a very common operation when programming. Here I show [...]
Joakim Gândara and Ian Ozsvald ScummVM can take you back to the 80s and 90s, letting you play the older LucasArts point n [...]
Ian Ozsvald If you're moving from Microsoft Word to OpenOffice.org then you'll want to know how to wo [...]
Ian Ozsvald Create your first Impress presentation using OpenOffice's PowerPoint-like presentation sy [...]
Ian Ozsvald The Django web-app framework, written in Python, released at the start of September 2008. [...]
Ian Ozsvald See how to install twill - a Python (and shell) web-browsing tool - in 1 line with easy_i [...]
Ian Ozsvald [This series is out of date, you should really go to the new Python 2.5 series - Python Ne [...]
Ian Ozsvald AdblockPlus.org hosts the popular adblocking plugin for Firefox. This video shows you ho [...]
Ian Ozsvald This guide covers installing Python, a language overview, writing a first program, learni [...]
Ian Ozsvald Aimed at Python Beginner Programmers, this fully-worked series builds a complete applica [...]
Marius Meinert and Ian Ozsvald and Lucas Holland and Dai and gasto See great applications in action. We're gathering examples of really nice applications - [...]
Ian Ozsvald A short introduction to the on-line world of resources for Python programmers, targetted a [...]
Ian Ozsvald This series teaches you how to define your own functions in Python. We cover how to writ [...]
Ian Ozsvald Here we install easy_install using ez_setup.py (linked on the easy_install page). easy_in [...]
Ian Ozsvald This screencasts welcomes Ryan Galbraith's students in his SIAST GIS 2008 course. I show [...]
Ian Ozsvald This transition series will help you move from Microsoft Excel to OpenOffice Calc in a fe [...]
Ian Ozsvald We use the excellent (and free!) CamStudio 2.0 to make many of our ShowMeDo tutorials on W [...]
Ian Ozsvald Python is not added to the DOS path by default. If you run 'python' from the command li [...]
Ian Ozsvald This short series introduces logic in Python by showing you the 'if' statement. Logical [...]
Ian Ozsvald See PyDev and IDLE in action, program and debug code and then learn bullet-proof coding by [...]
Ian Ozsvald Want to learn wxPython? Want a fully-worked example which leads you through to a working [...]
Ian Ozsvald IE8 and Firefox 3 are demonstrated, you can see them both in action along with recent fea [...]
Ian Ozsvald Two videos to demonstrate editing and debugging of Python code using the excellent SPE too [...]
Ian Ozsvald Learning basic file input/output opens up the world of reading data in, manipulating it a [...]
Ian Ozsvald and Kevin Dangoor Originally the TurboGears Ultimate DVD (produced in late 2006 by Kevin Dangoor), now show [...]
Ian Ozsvald These short demos show the low-cost Arduino hardware experimentation board in action on W [...]
Ian Ozsvald There is quite an art to making a perfect cup of coffee. Here we gather some of the lore.
Ian Ozsvald Learn how to use twill (a Python+shell web browser) and nosetests to unit-test your websi [...]
Ian Ozsvald Install nosetests using a 1 line easy_install command. Nosetests gives us robust unit-te [...]
Ian Ozsvald TechSmith asked me to create a video on using Audacity to edit narrations. Since the use [...]
Ian Ozsvald and Stephan Deibel This two-part series will show you Wingware's new Wing 3 IDE. Topics: starting a new Pyt [...]
Ian Ozsvald Create a simple database using OpenOffice's Base, based on a physiotherapy patient databa [...]
Ian Ozsvald [This series is out of date - see the replacement CamStudio series]. Screencasting is eas [...]
Ian Ozsvald If you're coming to Python from a different language then you'll want to know how the syn [...]