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

list [ID:750] (9/14)

in series: Python Beginners - Common Variables and Containers

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

Lists are a container type. Unlike in some languages you don't need to pre-declare them (this is true for all datatypes in Python) and you can manipulate them (e.g. changing their size) on the fly. Lists can hold multiple copies of the same item, they can hold different datatypes at the same time and they can be sorted very efficiently.

I show you how to build up a list, sort it, reverse it and index into it. I also show you how to build sub-lists and how to iterate over the items in the list. List comprehensions are a more advanced topic, I give you an example so you'll know what they look like.

Background:

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

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

Like the List comprehension features. Very cool. Thanks!


Especially liked the part about compressing for loops etc in lists. Thanks!


very good intro. to lists.


Hello Ian,

I am a beginner with python and really enjoy your videos. My main system at home is ubuntu and I would like to know if could make some videos about using the IDLE to create gui applications from zero to finish. Keep up the good work and I'm looking forward for the next series fo videos with gui and database exercises.

Thank you

Ramon

EST N.Y

Stamford, CT


Again, useful stuff. I have been dabbling at programming for a long time... I wrote my first "Hello World" type program in Dartmouth Basic in 1970. But most of my experience is very "old school" procedural stuff... FORTRAN, PL/1, Pascal. I am trying to figure out how more modern languages work. Hence my interest in Python. I am finding that these new languages have a lot more "built-in" than the old languages. In FORTRAN if you wanted to sort something, you had to do it yourself or get some sort of subroutine library.


Continuing to learn a great deal thanks to your series thanks for all your hard work.


9. anonymous Mon, 09 Mar 2009 22:25

Dies ist ein großer Ort. Ich möchte hier noch einmal.


Thanks Ian, I have discovered lists are the solution to many of the problems I have encountered when manipulating strings.

Your explanations were very helpful and informative yet kept simple.

Many thanks.


For some reason, the clip kept stopping at 59%. I had to download it and play it locally to see the end.


How can we access element inside the sublist? Is there a `.` operator like in C?

Also a real world implementation demonstrating the usage of lists will really help


Apologies for missing file, this is fixed. The rest of the series is unaffected.

Ian.


Review of list

There is NO video. The only that plays is the tidbit that requests feedback.


The ShowMeDo Robot says - this video is now published, thanks for adding to ShowMeDo.


Your video has been edited. This is an automatic post by ShowMeDo.


Your video has been edited. This is an automatic post by ShowMeDo.


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

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.

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