Amazing-Python-Scripts

Форк
0

README.md

Weather App

This is a simple application that allows you to check the temperature of a city using web scraping from Google search results.

Prerequisites

  • Python 3.x
  • Requests library (pip install requests)
  • BeautifulSoup library (pip install beautifulsoup4)
  • Tkinter library (usually included with Python)

Usage

  1. Run the weatherapp.py script.
  2. Enter the name of the city for which you want to check the temperature.
  3. Click the "Get Temperature" button.
  4. The temperature will be displayed below the button.

Notes

  • The application fetches the temperature information by performing a Google search for "weather in ". It then extracts the temperature details from the search results using web scraping techniques.
  • The temperature displayed might vary depending on the structure and layout of Google's search results page.
  • This application is for educational and demonstration purposes only and is not intended for commercial or production use.

License

This project is licensed under the MIT License.

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.