First Python ShowMeDo in the wild
Friday, June 29th, 2007Woot! One of our ShowMeDos is in the wild.
Steve is our first embedder, I’d love to know who tries next!
Woot! One of our ShowMeDos is in the wild.
Steve is our first embedder, I’d love to know who tries next!
Jeff Rush (Python Advocate of the Python Software Foundation) has created two new ShowMeDos talking about screencasting for Python:
These are the first episodes for his new series, he covers:
Jeff makes the point the Python needs more videos on:
These are Jeff’s first two videos for ShowMeDo so please do leave him a comment and a vote as Feedback is Fuel for our authors.
ShowMeDo has 114 Python videos (which you can embed), you can track new releases via our RSS feed.
Now you can embed ShowMeDos in your own site with just a simple copy/paste of some HTML.
You just need to copy 10 lines of HTML onto your site and It’ll Just Work - instructions in the wiki, you can embed any of the public videos.
Pick one of our 113 Python tutorials and give it a go! You might want to try one from Resources, IPython or perhaps wxPython.
Why do you want to do this? You can help spread the word about Python by showing others just how easy it is to:
If you have any difficulty then of course just get in contact.
Python is not added to the DOS path by default. If you run ‘python’ from the command line you’ll receive this error message:
'python' is not recognized as an internal or external command,
operable program or batch file.
Here I show you how to add ‘;c:\python25;c:\python25\scripts’ to the System Path allowing Python to be executed from the command line for all users.
113 Python videos are available (RSS Feed). Now you can embed ShowMeDos in your own site too.
We have upgraded our payment system to use PayPal - now purchases result in instant ownership of the video series. This applies to our two commercial series:
We have also standardised the price to $10 for each series. If you bought the series recently at a higher price then get in contact and we’ll figure something out (perhaps either a refund or access to another commercial video series).
Simple Yes/No queries give us a simple way of asking the user for confirmation. Stephen Ferg’s easygui makes this easy with the ynbox. No other modules are needed, easygui is cross-platform. This follows-on from the enterbox and fileopenbox examples.
This code:
import easygui
result = easygui.ynbox(message = "Do you want to continue?", title = "Continue?")
# The dialog is modal and can't be Closed, you have to give an answer
# A Yes returns 1 (which is like True)
# A No returns 0 (which is like False)
generates this simple Yes/No dialog:

Related: easygui has a Continue/Cancel dialog (ccbox), a Boolean dialog (boolbox) and a multiple-button dialog (indexbox).
To see easygui’s fileopenbox, filesavebox, choicebox, enterbox and ynbox in action and learn how to write a Python program from scratch, visit: Python 101 - easygui and csv.
ShowMeDo has 113 Python videos and a latest-videos RSS feed.
Horst Jens’ three Python Kids are discussed in ‘Python for Kids’ in this month’s Python Papers.
The article covers PyDoc, EasyGUI, DrPython and RUR-PLE. Python Papers editor Tennessee Leeuwenburg has authored the piece in Volume 2 Issue 2 (html version)
Writes Tennessee Leeuwenburg:
“The use of Python in education is clearly a significant topic in its own right. In the previous article, Michael Tobis presented an excellent overview of Python in education. As can be seen, Leo, Lexi and Chen have made some fantastic videos. If Python Papers readers know of any other examples of Python being used in education, or would like to let us know their views on this topic, we would love to hear from you!”
Congratulations to Horst for getting into print! Kyran and I believe that this is the first ShowMeDo series to get into a publication, hopefully the first of many more.
ShowMeDo has 113 Python videos along with a latest-videos RSS feed to keep you up to date. Do please consider sharing your knowledge with us by making your own ShowMeDos.
Following on from the fileopenbox example I’ll show you how to replace raw_input with an input-dialog in 2 lines of Python, using Stephen Ferg’s easygui module. No other modules are needed, easygui is cross-platform.
Text-input box with a default string:
import easygui
result = easygui.enterbox(message="Enter your name", title="Name query", argDefaultText="Ian Ozsvald")
Anything the user types in is returned as a string, if the user hits Cancel then None is returned.
The resulting dialog looks like this on Windows:

Related: easygui has an integerbox just for numerical input.
To see easygui’s fileopenbox, filesavebox, choicebox, enterbox and ynbox in action and learn how to write a Python program from scratch, visit: Python 101 - easygui and csv.
We have 3 new series:
Please give encouragement to our authors by saying Thanks if you like their efforts.
Video feed: Keep track of all our latest videos using our latest-videos feed.
Comment feed: Follow conversations with our new-comments feed.
Lucas and Marius are adding new videos to their Beginning GNU/Linux with Ubuntu and Being Productive with Mozilla Thunderbird series.
Do please give them encouragement and let them know if the videos are useful.
Video feed: Keep track of all our latest videos using our latest-videos feed.
Comment feed: Follow conversations with our new-comments feed.