Skip to content

Conversation

mgndolan
Copy link
Contributor

@mgndolan mgndolan commented Oct 12, 2021

Tkinter Python GUI demo

USWeatherForecast.py

Tkinter is a Python module used to create cross-platform GUIs. USWeatherForecast.py demonstrates a very basic example of a Tkinter application that connects to an API.

Issue no. #696

Self Check(Tick After Making pull Request)

  • This issue was assigned to me.
  • One Change in one Pull Request
  • My file is in proper folder (Name of folder should be in lowercase with no space in between) (E.g. meet_schedular)
  • I am following clean code and Documentation and my code is well linted with flake8.
  • I have added README.md and requirements.txt (Include version numbers too e.g. pandas==0.0.1) with my script
  • I have used REPO README TEAMPLATE (Necessary)
  • Just including required dependencies in requirements.txt (Don't include Python version too)

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Created a Tkinter application that gets weather forecasts from US cities.

Users are prompted to enter a city name and the application gets the weather forecast from an open source API.

The Weather API used is from the free  Open Weather Map RapidAPI (https://rapidapi.com/community/api/open-weather-map/)
Included a README file explaining how to use the application with images.

In addition, I converted the weather temperature output from Kelvin to Fahrenheit.
Included authors list
Added a requirements file for USWeatherForecast.py app
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations!! 🎉 @mgndolan for making your first PR. We will review the changes soon and merge finally.😊 Do give a star ⭐ meanwhile if you like this project.

To remain consistent, I ran flake8 linting on the USWeatherForecast.py app and corrected as needed. Flake8 now runs with no errors.
@mgndolan mgndolan closed this Oct 13, 2021
@mgndolan mgndolan reopened this Oct 13, 2021
Error message E123 did not appear on my local machine, but hopefully this commit will resolve that issue
Looks like I over-indented.. Hopefully this is resolved now
Not quite sure why I am still getting this error.. Tried to resolve the problem with this fix
@pawangeek pawangeek linked an issue Oct 13, 2021 that may be closed by this pull request
1 task
@pawangeek pawangeek merged commit b5f1bfb into python-geeks:main Oct 13, 2021
@pawangeek pawangeek added the hacktoberfest-accepted Supporting completion of hacktober fest label Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Supporting completion of hacktober fest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tkinter Python GUI
2 participants