Friday, November 18, 2016

Extending Python Vocab Tester with Dictionary Lookups and Storage #piday #raspberrypi @Raspberry_Pi

from Extending Python Vocab Tester with Dictionary Lookups and Storage #piday #raspberrypi @Raspberry_Pi
by Stephanie

NewImage

From RasPi.TV:

In my previous blog post, I showed you my Python based vocabulary tester and suggested some ways it could be “taken further”.

You probably won’t be overly surprised to hear that I have taken it a bit further myself. Actually, I’ve taken it rather a LOT further, but this blog article is to show you the next couple of steps.

Let’s Compile a List

The first, fairly easy, tweak I made was to store the words I don’t know in a file. I figured it would be good to make a list of these so they can be looked up or used in some way. Each time I run the vocab checker script I get a handful of new ‘unknown’ words. But what can we do with those once we’ve stored them?

Read more


2358Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

No comments:

Post a Comment