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: 108 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 ...

Bonus - IDLE's Python Help and an Exercise [ID:162] (10/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.)

Tal, an IDLE developer, suggested I add a bonus episode covering the 'help()' function within IDLE. Here I discuss the built-in help, using the external Python help, and I add a bonus Web exercise. I also show you how to use Alt P and Alt N to navigate to the Previous and Next items in IDLE's the command-history.

Bonus exercise - use urllib2 to read the html at ShowMeDo.com, checking the response for the return code and looking at the dictionary of headers. You might find the notes here at voidspace to be useful.

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

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

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

14. anonymous Thu, 02 Apr 2009 21:40

Thanx for providing for newbies


Hi Ian,

Thanks for the videos! Great work. One question that perhaps you could help me with is that I am using Python version 2.5 similar to you in the video and I tried to install the help documents. When I go to http://docs.python.org/download.html I get the documentation for python 2.6.1. I downloaded the html zip file and extracted it to the c:\python25\Doc directory but the help functions still didnt work in idle. Any thoughts?? Thanks


Hi dmackersie. It is always difficult to know which words survive the jump between countries and which cause confusion - thanks for the tip!

Ian.


A point of minor confusion:

In this video

"( )" == "brackets"

For US listeners:

"[ ]" == "square brackets" == "brackets"

"( )" == "parenthesis"


Ian, I'd like to see a "Beginner to Advanced" series for Python. Anything in the works?


Anon (Frank) - as discussed by email, the problem with the tab-completion is that you have Python 2.4.4 and you need Python 2.5.

That answers that one nice and easily :-)

Ian.


Hi Anon, I think the problem is that you're using an older version of IDLE. In this video series I use Python2.5 and IDLE 1.2 (bundled with Python 2.5). Tab-completion works fine.

Using another machine with Python 2.4 and IDLE 1.1.1 I don't have any tab-completion. I'll mail you privately to check this but I think you'll need to upgrade to the same version of Python as I've used in these videos.

Cheers,

Ian.


7. anonymous Thu, 19 Apr 2007 01:17

Hello Ian,

During bonus exercise you mentioned 'Tab' will invoke the functions and objects list. For me, when I use the tab it idents only. I don't get the invoke list. Is this a key combo or a single key?

Thanks!


Jerol - sorry for the slow reply (you can login now using your email for personalised commenting too, rather than using 'anonymous').

That's not a bad idea, something to add to the list certainly.

I had no idea that you had to install the Python Docs to get extended help in IPython - I guess that's why I don't see much help in IPython :-) Heck, I'm just used to using python.org's help pages.

You publish a video like this and you get to learn so many new/interesting things!

Ian.


Ah, yes, that will explain it! The site only went down for 2 hours but it must have been at the same time as you tried to use it.

Sorry about that, we'll be working to improve ShowMeDo so it doesn't go under quite so quickly in the future in the face of such a flood of visitors!

Ian.


Yes, it was yesterday


Hi Jack. Great, glad the exercise helped. Sorry to hear you had trouble using ShowMeDo for that...did you do this yesterday?

If so - we were promoted to del.icio.us' front-page and ShowMeDo died for 2 hours under the torrent of visitors! The site (and the blog) totally disappeared, then fixed itself once the del.icio.us link changed <phew>.

Kyran and I will be working to prevent this kind of effect in the future.

Anyhow, glad to hear that the exercise worked from Python.org's site.

Ian.


I enjoyed this video. It is informative and useful.

On the exercise. I had trouble getting the information to pull up from your web site, but I was able to do this with the python web site.


Ian,

I thought this was a very good SMD. I used it to compare the help functions within IPython, and was inspired to add a permanent alias to evoke the Python help file (like F1 in IDLE). I have one suggestion: what about making a video just on downloading and configuring the python help files that would be in the public section? The reason is that both IDLE and IPython need this step to display enhanced help (I found that I had to set the PYTHONDOCS variable to make IPython help work right).

Jerol


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 Ian

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