Name: [079] Lucas Holland
Member: 95 months
Authored: 58 videos
Description: Hey, I'm a geek just like you ;-) No, seriously I do have a real life... I enjoy programming, screencasting and spending time with my friends. I maintain a blog together with Marius at: http://www.monroebrothers.org ...

Batteries included - The Python standard library [ID:307]

a series of video-tutorials by Lucas Holland

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.

Video Tutorials

1. Series overview

In this video I give you an overview of what I cover in the series. In addition to that, I also walk you through a crash course on modules in Python. NOTE there are some loud audio noises on occasion, please excuse the bumps on the microphone!

2. The "sys" module

The sys module gives you access to interpreter-related functionality. In this video, I focus on using it to retrieve command line arguments passed to a script, using the argv list, and on the path list that contains a list of directories Python will look for modules in so you can import them. Links: Documentation on the sys module: http://docs.python.org/lib/module-sys.html Documentation on the o [...]

3. The "os" module

The os module is among the most powerful modules in the standard library. Among other things, it lets you work with the filesystem and access OS-specific data such as environment variables. It does have its limitations, though. That's why I cover the shutil module, designed to work around those limitations, in a later episode. Links: Documentation on the os module: http://docs.python.org/lib/mod [...]

4. The "shutil" module

The shutil module is designed to work around some of the limitations of the os module. In this episode, I cover its basic use. Links: Documentation on the shutil module: http://docs.python.org/lib/module-shutil.html

5. The "glob" module

The glob module allows you to list the contents of a directory and filter those contents using Unix-shell like rules. In this episode, I show how to use it. Links: Documentation on the glob module: http://docs.python.org/lib/module-glob.html

6. The "re" module

The re module is the preferred way of dealing with regular expressions in Python. Links: Documentation on the re module: http://docs.python.org/lib/module-re.html Wikipedia entry on regular expressions: http://en.wikipedia.org/wiki/Regular_Expressions Site devoted to regular expressions, includes tutorial: http://www.regular-expressions.info/

7. The "math" module

As the name implies, the math module contains functions (like sin(x) and constants (like π)). Links: Documentation on the math module: http://docs.python.org/lib/module-math.html

8. The "urllib2" module

To quote the Python documentation, the urllib2 module defines functions and classes which help in opening URLs (mostly HTTP) in a complex world. Links: Documenation on the urllib2 module: http://docs.python.org/lib/module-urllib2.html

9. The "datetime" module

date and time are two important aspects of programming. In Python there are data types that let you represent date and time in a format that makes sense. Enter the datetime module. It contains classes to make working with date and time a snap! Links: Documentation on the datetime module: http://docs.python.org/lib/module-datetime.html Documentation on the strftime() function/method: http://docs.p [...]

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 Lucas

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