[091] Python 101 - easygui and csv (17 videos)
a series of video-tutorials by Ian Ozsvald
Aimed at Python Beginner Programmers, this fully-worked series builds a complete application that utilises a User Interface, the comma-separated-values (csv) module, reads and writes files, handles exceptions and gives useful error messages, uses test-driven development, nosetests and refactoring. We do all of this inside Wingware's excellent Wing IDE.
"Very well explained. I've learned a lot about debugging code. The ability to print the code, work through the problem and review the screencast, makes for clear understanding of what's going on. Thanks." - Jshack
"It's a NO BRAINER to get this quality of tutorial [...]. Everyone, who starts learning python, should get it. Excelent job. Keep up with a good work." - nicholas
Video Tutorials
[242] Series Overview in 5 minutes (Free)
[243] Introducing .csv files and the Wing IDE
The aim of this series is to build a working tool which reads a .csv file, creates averages, writes a new .csv file and does so with some nice user-interface controls. To begin we need to know about .csv files (csv at wikipedia) and we need to test our choice of IDE - Wing IDE.
[244] Batteries-included - the csv module
Python comes with its own comma-separated values (documentation) module - this is useful as there are many wrinkles with csv files that would make writing our own a pain (wikipedia: newline).
[245] Simple User Interfaces with easygui
easygui is a great module for building simple user-interfaces, created by Stephen Ferg, built on top of Tkinter. Here we learn how to create a file-open box in just 1 line of code, so we can easily open any .csv file.
[246] Debug Tip - Mising Import Statements
[247] Exercise: User Interaction with a Yes/No control and the EnterBox
[248] Solution: The working Yes/No control and EnterBox
[249] Refactoring with functions and doc strings
[250] Starting with Unit-tests
[251] Exception handling and Unit-testing with justNumbers
Now we write unit-tests for our code using the powerful Test-Driven Development (TDD) approach. Using TDD we expand the new justNumbers function which means we need to look at exception handling to sensibly handle a ValueError exception.




