Python Jumpstart by Building 10 Apps Transcripts
Chapter: App 5: Real-time weather client
Lecture: Intro to our weather client app
0:00 Hello and welcome to app number five.
0:02 This time we're gonna build a weather client; an application that you run, and you can
0:06 ask "what is the weather" in virtually any town in the world.
0:10 Now, this is not a simulated weather client.
0:13 It's not going to just give some random thing like "maybe it's gonna be cloudy and
0:18 72". No, it's going to go out to the Internet and actually get the
0:21 weather at that location. So we're going to do some really,
0:24 really cool stuff. Let's see exactly what we're going to build.
0:29 It's gonna look like this. It'll have a little header like all of our apps
0:33 do, and it will say
0:34 "enter your location" and you put in a city and a country, or just a city
0:39 within the U.S., or a city and a state in the country
0:42 U.S. However you want. Here,
0:44 we're gonna say "I'd like to know the weather in Seattle" and right now, when
0:48 I ran this, it said the weather in Seattle is 54.48 degrees Fahrenheit and the
0:53 forecast is clouds, specifically scattered clouds.
0:56 And then I asked for Stuttgart, Germany, Deutschland,
0:59 the weather in Stuttgart, Germany
1:01 is 47°F and overcast clouds.
1:04 Cool, right? So this is what we're gonna build and you'll see,
1:07 While it may sound complicated to go out actually to the Internet and get all this
1:11 information with Python, it's gonna be awesome.