Name: [002] Ian Ozsvald
Member: 128 months
Authored: 181 videos
Description: I am the co-founder of ShowMeDo (see, author of `The Screencasting Handbook <>`_ and the founder of the professional screencast production company `ProCasts <>`_: .. image:: ...

Python Beginners - the 'if' statement [ID:405]

a series of video-tutorials by Ian Ozsvald

This short series introduces logic in Python by showing you the 'if' statement. Logical control is fundamental to your control of Python programs, this series will quickly introduce you to the basics.

Video Tutorials

1. Overview (if)

Testing conditions is key to programming in any imperative programming language (e.g. Python, Java, C). We use the 'if' statement to decide on one course of action if the test is True or another course of action if the test is False. In this short series we use Python 2.5 to demonstrate 'if', 'else' and 'elif'.

2. Introducing the 'if' statement

Learn how the 'if' statement works in Python. In this episode we experiment with some simple logic tests using numbers and strings on True conditions. In the next episode we look at what happens if our condition is False using 'else' and 'elif'. Using: Python 2.5 on Windows, applies cross-platform Background: If, Then and Else: Loops and iteration for i [...]

3. Using 'elif' and 'else'

Once you have an 'if' statement, you'll want to handle alternative flows of logic if your condition is False. 'else' lets us do 'something else' including start another 'if' statement. 'elif' is a contraction of 'else-if' and it lets us do combined 'else', 'if' tests in fewer characters. Watch how 'else' and 'elif' are used, after this you'll know all there is to know about the 'if' statement in [...]

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

3 Minute Oveview (What Does Python Look Like?)

simple and informative. you draw me in
70 months ago

Learning Paths

This series lies on the following learning-paths. Learning-paths are a new initiative at Showmedo, to start structuring our content better. You can find out more here.



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.