Skip to content

program that prints the weather for a location from the command line

Notifications You must be signed in to change notification settings

raghavbansal27/Quick-Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Checking the weather seems fairly trivial: Open your web browser, click the address bar, type the URL to a weather website (or search for one and then click the link), wait for the page to load, look past all the ads, and so on.

Actually, there are a lot of boring steps you could skip, if you had a program that download the weather forecast and print it as plaintext.

libraries used-

  1. requests
  2. json
  3. sys

HOW TO USE THIS PROGRAM?

  1. In Windows:

    • Open cmd
    • Go to the file location using cd
    • Write :> python quickWeather.py location
    • Or you can even create a batch file :)
  2. In Linux:

    • Open terminal
    • Go to the file location using cd
    • Write :$ python3 quickWeather.py location

About

program that prints the weather for a location from the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages