Join Club ShowMeDo to Learn Python!

This series is a part of Club ShowMeDo. Click to learn why you should join our club with a simple monthly subscription.

  • We teach Python and all the cool modules
  • Topics include beginner Python, GUIs, Web and Desktop Apps
  • Long, specially crafted video tutorials just for you
  • Club video tutorials extend our normal Free content
  • Save your time - we've done the research for you
  • Keep your skills up-to-date
  • Learn at your own pace, everything you need is shown to you
  • Over 12 hours of archived material are waiting for you in the club

Name: [002] Ian Ozsvald
Member: 52 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 ...

[138] Using IDLE v1.2 (4/10)

in series: Python Development on XP

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

IDLE is the bundled editor for Python, it comes with all the distributions. Here I show you how to get started writing and running scripts and how to use the extra power of IDLE.

Topics covered - printing at the immediate command line inside IDLE, navigating at the command line, writing loops at the command line, seeing tooltips which give us help about Python functions. Using a keyboard interrupt (Ctrl-C ) to break into code editing. Defining a function at the command line and then calling it with arguments. Command completion (using Alt-/). Use of default arguments in a function.

In the second half of the video I show you how to use IDLE's script editor - we copy the code we've developed at the command line into an editor, save the code, run it (F5) and edit it. At end end of this video you will have a thorough understanding of the main development environment that ships with every Python distribution.

You'll find the source code in the wiki.

To talk to your fellow Pythonistas you should join the ShowMeDo Learners Google Group.

For more introductions, see the IDLE Doc at Python.org and this second intro.

Video Tutorials related by tag:

writing wiki videos video values value understanding tutorials tutorial time talks talk source skills showmedos showmedo scripts script running requirements python pydev programs programming_tools program power ordinary notes nosetests newbies newbie loops loop look learn knowledge introduction information help group google functions function figure exercise environment end editor editing docs distributions distribution development copy continue commands coding code changes break beginners beginner_programming XP IDLE DOC

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

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

Good one. Please practice on the volume of your voice and talk a little bit slower.


As a new programmer to python this episode was informal and I understood your explanation.


25. anonymous Sun, 05 Jul 2009 14:33

Just looking


That was a pretty good video for newbies.


Nice Quick Start. Experienced programmer, but first time using Python. I was able to do the exercises along with your discussion of them. I am glad you made me pay for this, else I would feel like I was stealing.


This video was very helpful in better understanding just a small portion of the functions available in IDLE. I've tested IDLE in the past, but this adds to that information. I really appreciate seeing it from a different perspective


This is a nice intro into idle, gives a good idea of what idle does and provides some good links to other idle intro 's - thx


I'm glad to be learning Python here at ShowMeDo. I find the visual medium a lot easier than reading book. I do both, but I prefer video. Keep up the great work. I'm looking forward to building the WxPython image viewer. Thanks!


Review of Using IDLE v1.2

Hi Ian, I am a complete beginner in programming and found this very useful. Thank you


Review of Using IDLE v1.2

I want to say, Ian, that your videos are very informative and that I personally find them entertaining as well. You leave out no details, and for someone like me who is very new to programming, this is a breath of fresh air as I've sifted through one too many tutorials done by programmers who assume their viewers/readers are educated in the more simple areas of this subject. Keep up the good work!


Nice one Ian!

I learned some new things about IDLE from your screencast. In fact I am reapidly becoming a fan of showmedo after listening to your interview on the Ubuntu UK podcast. Keep up the good work!


Superb video thanks!

I did not know about the shortcut keys so that will help me a lot while I am using Idle


Hi Marlow. Yes, there are 2 problems there.

1) The Python Newbies on XP series did get renamed a year back to Python Development on XP. We know more about correctly-naming a series now so that shouldn't happen again.

2) The Python section of the site doesn't show all 3 of the Subscriber videos yet, we need to add in a Subscriber-video section so that it is obvious - we'll do this in the next few weeks.

Cheers,

Ian.


Just subscribed today & finished my first subscriber video (Using IDLE v1.2). I liked everything about it. Thanks Ian!

One minor suggestion to help us newbies: On the page enumerating "Python Tutorial Screencasts & Videos" and "Beginner Programming Python Video Series", etc... I could not find listed anywhere 'Python Newbies on XP...' which I had seen mentioned & recommended. I think it is named something slightly different? " Python Development on XP"?? (if so, the variation in names is not helpful) It's not in "python 101" or "Resources for Python Newbies" which sounded right at first. Anyway, I finally navigated into the out-of-date "Beginning Python" series and then found & followed a link to "python newbies on xp..." But that's just a minor nit on the web pages.


I like how you included multiple lines as well as some Ptyhon syntax in addition to just showing features of IDLE. Very useful!


Hi Ryan, cool, glad you like them :-)

We *really* do believe this is a Better Way than just hacking away burning the midnight-oil. What we really need to do of course is increase the number of really good series that we carry, to help educate more people.

We're always looking for new contributions!

Ian.


Nice introduction to IDLE. Like you mentioned in the ShowmeDo presentation at PyCon, these videos are a great alternative to just hacking away at learning a new language. Great initiative and contribution to the world of Python.

Can't wait to watch all the new Python videos that are forthcoming...


Hi Vincent. Great, glad you found it useful! So nice also that you're in my preview group for the next Introductory Python series, your feedback is very helpful.

Cheers,

Ian.


The screencast format is perfect for this kind of introduction. It was easy to learn the solutions to some issues that irritated me for a while when I was first trying to learn to use Idle. I was glad to hear you say that the introduction entitled "Using IDLE (for Version 0.5)" dated March 5, 2000 is still fairly accurate as far as it goes. I think I had seen it a while back and had not read it thinking it was out of date.

Thanks especially for the discussion of tabs versus spaces and how they're handled by the interactive window and the editing window. Very helpful.


Nice tutorial Ian. I did some Python work with the pyparsing library today and this was useful.


Hi miracle, glad you like the series. Thank you so much for the comments over these 5 videos, they are much appreciated.

As you say on the next video, I do show you how to run Python from the command line :-)

Glad that you found these so useful,

Ian.


6. anonymous Sat, 17 Mar 2007 23:46

This IDLE session is great. It really highlighted this simple to start yet powerful free IDE. A build-in IDE, In my point of view, is one of many reasons Python is getting more popular. I started to like Python and this series by Ian more...

One thing that Ian can show the audiance with a few seconds, probablly is how to use the saved python code outside of IDLE. something like:

c:\python> python hello.py

After all, one purpose of writing any code is to use it on normal OS environment... This is just a minor thing. I am sure most users will figure out...

Please continue, Ian... Great work!


Before watching the video, I was under the impression that IDLE was nothing more than a fancy syntax highlighting editor but here Ian shows you how useful IDLE really is when you start learning Python.

Though I use PyDev for my daily work, I do go to the Python shell to just try out a few things on the interpreter before writing my main code but I never used IDLE for it, I always preferred command line. But Ian just shows you that IDLE is more than a syntax highlighting interpreter and he demonstrates a lot of it's feature like repeating the code (by hitting return), Alt + '/' (which shows code complete), and Ctrl + C (Key-board interrupt), etc.

He also points you to some good references to IDLE tutorials which will be very useful when you are beginning to learn Python.

Keep going Ian :-) Looking for more videos from you here on ShowMeDo.


Hey Eric. Cool, it is good to hear that you learned something new :-)

Let me know what other topics you'd like to learn about?

Ian.


Things that I just learned new here.

1) The Alt+/ is awesome.

2) Hitting return in from of code will repeat it.

Good job Ian.


I couldn't see the video. Could you please fix it. Thanks a lot.


A very good video, explaining both Python and IDLE editing basics. I learned a lot from this. Both on the Python language and library (for which IDLE already shows plenty of tooltips), but even more on the editing shortcuts.


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 [...]

By the Same 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 TechSmith asked me to create a video on using Audacity to edit narrations. Since the use [...]
Ian Ozsvald Learning basic file input/output opens up the world of reading data in, manipulating it a [...]
Ian Ozsvald AdblockPlus.org hosts the popular adblocking plugin for Firefox. This video shows you ho [...]
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 The Django web-app framework, written in Python, released at the start of September 2008. [...]
Ian Ozsvald IE8 and Firefox 3 are demonstrated, you can see them both in action along with recent fea [...]
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 This guide covers installing Python, a language overview, writing a first program, learni [...]
Ian Ozsvald Learn to talk to COM-enabled applications on Windows using the open-source pyWin32 (by Ma [...]
Ian Ozsvald Install nosetests using a 1 line easy_install command. Nosetests gives us robust unit-te [...]
Ian Ozsvald Learn how to use twill (a Python+shell web browser) and nosetests to unit-test your websi [...]
Ian Ozsvald See how to install twill - a Python (and shell) web-browsing tool - in 1 line with easy_i [...]
Ian Ozsvald Here we install easy_install using ez_setup.py (linked on the easy_install page). easy_in [...]
Ian Ozsvald 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 Want to learn wxPython? Want a fully-worked example which leads you through to a working [...]
Ian Ozsvald See great applications in action. We're gathering examples of really nice applications - [...]
Ian Ozsvald This screencasts welcomes Ryan Galbraith's students in his SIAST GIS 2008 course. I show [...]
Ian Ozsvald This two-part series will show you Wingware's new Wing 3 IDE. Topics: starting a new Pyt [...]
Ian Ozsvald Python is not added to the DOS path by default. If you run 'python' from the command li [...]
Ian Ozsvald Aimed at Python Beginner Programmers, this fully-worked series builds a complete applica [...]
Ian Ozsvald We use the excellent (and free!) CamStudio 2.0 to make many of our ShowMeDo tutorials on W [...]
Ian Ozsvald A short introduction to the on-line world of resources for Python programmers, targetted a [...]
Ian Ozsvald Four videos leading you through the installation and basic mastery of the powerful IPython [...]
Ian Ozsvald Two videos to demonstrate editing and debugging of Python code using the excellent SPE too [...]
Ian Ozsvald [This series is out of date - see the replacement CamStudio series]. Screencasting is eas [...]
Ian Ozsvald There is quite an art to making a perfect cup of coffee. Here we gather some of the lore.
Ian Ozsvald ScummVM can take you back to the 80s and 90s, letting you play the older LucasArts point n [...]
Ian Ozsvald [This series is out of date, you should really go to the new Python 2.5 series - Python Ne [...]