Learning-paths are a work in progress. Most things seem to work, but certain browsers, Internet Explorer in particular, may see a few blips, particularly with the Flash-players. Any problems and please send some feedback here.

Beginner Python Programming

start

Aimed at new Python programmers, we're assuming you know a tiny bit about programming and nothing about using Python

goals

How to read and write simply Python programs and running them

Background Material

There are two Learning Paths you should follow beforehand, the first gets Python onto your machine and the second gives you a very light background to programming.

Setting up Python

You will have a working Python setup on Windows (notes for Linux and Mac included)

Basic Programming Skills

You will have an understanding of using the Shell and source-code control tools, we'll also cover some basic study-skills for programming

You'll have a lot of questions when you start out with programming, this first video will try to give you a background to some of those questions.

First 5 Minutes with Python

First 5 Minutes with Python

I'm often asked 'what are the resources and tutorials like for Python?' so here I try to answer the questions you might ask in your first 5 minutes with Python. First we look at python.org's documentation and HOWTO section, then we move to my Python Resources for Newbies video at ShowMeDo to learn about on-line tutorials, newsgroups, news, download and community sites. This video is a part of [...]

Next this Club series will walk you through what Python code looks like. You'll learn about indenting and if you know languages like C or Java you'll see where the syntax is similar and where it is different.

If you know nothing about programming then this series will help you to learn about what you're looking at, it'll give you the necessary context for later videos.

Python Beginners - What Does Python Look Like?

If you're coming to Python from a different language then you'll want to know how the syntax looks. If you're new to programming then you'll probably want an idea of what to expect too! Here I give you a high-level view of Python's code and common functions and I link to examples from Java, C and C++ to provide comparisons.

Finally you'll want to know where to go to get answers to your questions. This short series shows you all sorts of Python sites where you can get more background material and where you can ask questions.

Resources for Python Newbies

A short introduction to the on-line world of resources for Python programmers, targetted at newbies but probably useful for anyone in the Python world.

Some off-site resources you ought to see include the official Python.org Tutorial, Dive Into Python and the large tutorial collection at awaretek.

Gasto's Python from Zero series will also give you some more background on how Python works

Python from zero.

This series of videos is a very basic approach to python programming for beginners. In the hopes that the audience will stay tunned until the pygame tutorials, which will show how to make simple 2D games with no prior knowledge of computer graphics.

Starting to write programs with Python

Now you'll want to learn about the various built-in objects and functions of Python. First you should look at common variables and containers, these are some of the most common things you'll deal with.

Python Beginners - Common Variables and Containers

Python has many datatypes, you'll recognise some from other languages and some may be new to you. In this long series I give 5-10 minute demonstrations of each of the major data-types and containers, along with some discussion of variables and printing. The aim is to make you familiar with this fundamental part of Python - the usages should stick in your head for easy future reference. Publishin [...]

Fundamentally everything in Python is an Object (if you know C++, Java or SmallTalk then you'll know the concept). Jerol's introduction will teach you a little more about what Objects are.

An Introduction to Python Objects, using IPython

These three videos show how objects are used in Python. You can write a lot of code without being especially aware of objects -- until you come to GUI programming: TKInter and especially wxPython. These ShowMeDos will help you make the transition to our wxPython videos.

Now we'll begin to work with 'loops' - this is another fundamental programming concept.

Python Beginners - Loops and Iteration

Iterating over a block of code is a very common operation when programming. Here I show you the 'for' and 'while' commands in Python, they let you iterate over a sequence of items and repeat blocks of code under a truth condition. I'll show you how to use the 'for' loop on a list, set and dictionary whilst using iteration, range and enumerate. For the 'while' loop I'll show you an example of ge [...]

Whilst many things are built-in to Python, much of its richness comes from external libraries. Python is known as having 'batteries included' because many of the core libraries are included in every Python distribution. Here Lucas gives you an overview of some of the common functionality.

Batteries included - The Python standard library

In this series of videos, I give you a tour of some of the most commonly used modules available as part of the Python standard library.

To start building your own programs you will quickly realise that it makes sense not to write one long sequence of instructions but instead to break the code up into common blocks of functionality. Generally these blocks are called 'functions', here you'll get a high-level overview of how to write your own.

Python Beginners - Functions

This series teaches you how to define your own functions in Python. We cover how to write functions, argument passing, scoping, gotchas and nested functions.

Another skill you'll need is the ability to handle logic with 'if'.

Python Beginners - the 'if' statement

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.

Now you have a firm knowledge of the basics of Python <phew>.

You might also want to browse some of Horst's videos, he has some beginner Python content in German, Russian, Croation and Chinese.

Playing with turtle and RUR-PLE

Python has a built-in 'turtle' application (based on turtle robots), Horst has videos in various spoken languages on using turtle including the following. Turtle is a nice tool to interact visually with Python.

Python: create art with xturtle, random and genetic_algorithm (English)

a tutorial about using the python module xturtle to draw simple graphics and improve them with the help of a (very crude) evolutionary or genetic algorithm

You should also take a look at RUR-PLE the Robot by Andre Roberge.

RUR-PLE is like turtle - you control a virtual robot and interact with it using simply Python expressions. Both turtle and RUR-PLE are great for kids.

Python: Kids show you RurPle and EasyGUI (German / English subtitles)

Kids from my Python class show you how to learn Python using RurPle and EasyGUI please note that all videos in this series are in German language but have subtitles in English. You can find out more information in the Wiki (both in English and German). The Python class started at http://www.profikids.at and continues now at spielend-programmieren

RUR-PLE

Learn Python programming with the RUR-PLE teaching environment

Next step

You started with an installed but unused Python, now you have learned what Python looks like, how to write basic scripts using all of Python's main language features and you've had a chance to play with the graphical tools turtle and RUR-PLE.

Now look here:

Intermediate Python Programming

You will understand how to structure larger programs and you'll have some full examples to work through

The RST-script for this Learning-path

The script below was used to generate the learning-path page above.

===========================================================
Beginner Python Programming
===========================================================

.. contents::

start
=====
Aimed at new Python programmers, we're assuming you know a tiny bit about programming and nothing about using Python

goals
=====
How to read and write simply Python programs and running them

Background Material
===================

There are two Learning Paths you should follow beforehand, the first gets Python onto your machine and the second gives you a very light background to programming.

.. path:: 010, 009

You'll have a lot of questions when you start out with programming, this first video will try to give you a background to some of those questions.

.. video:: 297

Next this Club series will walk you through what Python code looks like.  You'll learn about indenting and if you know languages like C or Java you'll see where the syntax is similar and where it is different.

If you know nothing about programming then this series will help you to learn about what you're looking at, it'll give you the necessary context for later videos.

.. series:: 275

Finally you'll want to know where to go to get answers to your questions.  This short series shows you all sorts of Python sites where you can get more background material and where you can ask questions.

.. series:: 027

Some off-site resources you ought to see include the official `Python.org Tutorial <http://docs.python.org/tutorial/>`_, `Dive Into Python <http://diveintopython.org/>`_ and the large tutorial collection at `awaretek <http://www.awaretek.com/tutorials.html>`_.

Gasto's Python from Zero series will also give you some more background on how Python works

.. series:: 247

Starting to write programs with Python
======================================

Now you'll want to learn about the various built-in objects and functions of Python.  First you should look at common variables and containers, these are some of the most common things you'll deal with.

.. series:: 280

Fundamentally everything in Python is an Object (if you know C++, Java or SmallTalk then you'll know the concept).  Jerol's introduction will teach you a little more about what Objects are.

.. series:: 005

Now we'll begin to work with 'loops' - this is another fundamental programming concept.

.. series:: 296

Whilst many things are built-in to Python, much of its richness comes from external libraries.  Python is known as having 'batteries included' because many of the core libraries are included in every Python distribution.  Here Lucas gives you an overview of some of the common functionality.

.. series:: 307

To start building your own programs you will quickly realise that it makes sense not to write one long sequence of instructions but instead to break the code up into common blocks of functionality.  Generally these blocks are called 'functions', here you'll get a high-level overview of how to write your own.

.. series:: 360

Another skill you'll need is the ability to handle logic with 'if'.

.. series:: 405

Now you have a firm knowledge of the basics of Python <phew>.            

You might also want to browse some of `Horst <http://showmedo.com/videotutorials/?author=71>`_'s videos, he has some beginner Python content in German, Russian, Croation and Chinese.

Playing with turtle and RUR-PLE
===============================

Python has a built-in 'turtle' application (based on `turtle robots <http://en.wikipedia.org/wiki/Turtle_(robot)>`_), `Horst <http://showmedo.com/videotutorials/?author=71>`_ has videos in various spoken languages on using turtle including the following.  Turtle is a nice tool to interact visually with Python.

.. series:: 188


You should also take a look at RUR-PLE the Robot by Andre Roberge.

RUR-PLE is like turtle - you control a virtual robot and interact with it using simply Python expressions.  Both turtle and RUR-PLE are great for kids.

.. series:: 057 015

Next step
=========

You started with an installed but unused Python, now you have learned what Python looks like, how to write basic scripts using all of Python's main language features and you've had a chance to play with the graphical tools turtle and RUR-PLE.

Now look here:

.. path:: 12


.. authors::  71 79 3253 11 8 709 22

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

15. Hrishikesh Mon, 23 Dec 2013 03:05

I'm beginner to python language& I have to do my "Online voting system" project in python,

so please give me some suggestions .


am very eager to learn python ...due to would send python materials...to me....


Newbie in Python


thx


9. Chris Meyer Mon, 03 Jan 2011 17:22

---- Thanks - you saved me some time.

---- I appreciate your effort.

---- Please make more on this subject!.

---- *Really* useful, thanks!.

---- Feedback - Your speech is a bit too quick.

---- Feedback - Volume is too low.

---- Feedback - Visual quality could be improved.


I havn't enough knowledge in using the python programming language.Therfore I would like

you to help me ,especially for now on generating the formula for factorial>


I havn't enough knowledge in using the python programming language.Therfore I would like

you to help me ,especially for now on generating the formula for factorial>


6. anonymous Thu, 19 Nov 2009 05:18

It's very good ..

ya..... can u give or tell some websites for free python learning E-books .............


5. anonymous Thu, 19 Nov 2009 05:18

It's very good ..

ya..... can u give or tell some websites for free python learning E-books .............


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.

Follow Our Tweets
For site-news, video announces, info on building a web-site with Python, jQuery, javascript, CSS, Flash (ugh) and plain interesting FOSS news follow our tweets.
Follow Our Blog
For in-depth code analyses, new videos, news from the open-source frontier, Python, jQuery etc. hackery just follow our blog.
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