KeithGalli / GUI

Source Code to go along with my video on how to program a gui in python using Tkinter
222 stars 159 forks source link

This was such a great course btw! few issues #2

Open 1997showroom opened 5 years ago

1997showroom commented 5 years ago

I am running on an issue with the 'import requests' line and also something is going on with the 'lambda'

Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tkinter/init.py", line 1705, in call return self.func(*args) File "/Users/singlefawn/PycharmProjects/test/exportToHTML/1997-02.py", line 55, in button = tk.Button(frame, text="Get Weather", font=40, command=lambda: get_weather(entry.get())) File "/Users/singlefawn/PycharmProjects/test/exportToHTML/1997-02.py", line 31, in get_weather response = requests.get(url, params=params) NameError: name 'requests' is not defined

What's really cool about your videos are you actually are a great teacher, the beat was great I was able to learn through two sitting sessions of your video for about 4 hours all together. I started learning python two months ago now and moving into actually building a desktop app that runs was a big leap. This one video has exposed me to API understanding all the relwidth stuff plenty of really cool stuff. Please keep up the good work!

KeithGalli commented 5 years ago

Will respond with some feedback when I get back to my computer tomorrow. Bump this thread if you don't hear me and thanks for the kind feedback!

1997showroom commented 5 years ago

Will respond with some feedback when I get back to my computer tomorrow. Bump this thread if you don't hear me and thanks for the kind feedback!

Amazing and also how do you give your tk program a title in the title bar at top instead of it saying "tk"

I'm just getting to the library to go try the next tutorial you have on your youtube!!

hannansatopay commented 5 years ago

@KeithGalli I was browsing on GitHub and happened to stumble upon this repository. I hope you don't mind me answering the query.

@1997showroom

  1. You have to first install the requests library to be able to use that particular command without getting any error. The easy way to do that is to run the following command in your command prompt - pip install requests Also, do not forget to import the requests library as already shown in the code shared in this repository. Just additional information: the requests library allows you to work with APIs such as the weather API in this particular case.

  2. You can easily change the title of the window by using the following code - root.title('Weather App') You should put this code just below the statement root = tk.Tk()

1997showroom commented 5 years ago

is it possible to hire you as developer for this new project im working on? What are your levels of expertise with programing, what kind of things do you do ?? singlefawn.com

On Fri, Sep 20, 2019 at 1:01 PM Hannan Satopay notifications@github.com wrote:

@KeithGalli https://github.com/KeithGalli I was browsing on GitHub and happened to stumble upon this repository. I hope you don't mind me answering the query.

@1997showroom https://github.com/1997showroom

1.

You have to first install the requests library to be able to use that particular command without getting any error. The easy way to do that is to run the following command in your command prompt - pip install requests Also, do not forget to import the requests library as already shown in the code shared in this repository. Just additional information: the requests library allows you to work with APIs such as the weather API in this particular case. 2.

You can easily change the title of the window by using the following code - root.title('Weather App') You should put this code just below the statement root = tk.Tk()

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeithGalli/GUI/issues/2?email_source=notifications&email_token=AMMPNMGBL2UZQPYHQQ4L6ZTQKUFWFA5CNFSM4ICHT6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7HOS4Q#issuecomment-533653874, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMPNMF5D5DOBPSHKOGSCULQKUFWFANCNFSM4ICHT6XA .

hannansatopay commented 5 years ago

@1997showroom Yes, I am available to work as a developer on a wide variety of projects. I can work on the following project category: Data Science, Machine Learning, Cloud, Computer Vision, Web Development, App Development, Internet of Things just to name a few. I am fluent in Python (and all related libraries...even Flask), HTML/CSS/Javascript, PHP, Wordpress, R, C & C++. You can connect with me on LinkedIn where we can discuss further: https://www.linkedin.com/in/hannansatopay/

1997showroom commented 5 years ago

https://www.dropbox.com/s/uqj5t1qv9qcuws6/1997%20Showroom%20-%20Client%20Pitch%20Deck.pdf?dl=0 singlefawn.com

On Fri, Sep 20, 2019 at 11:55 PM River Today rvr.today@gmail.com wrote:

Is email ok I don't do linked in messenger much. could w set up a call next week?

My wife and I have small production company here in Houston. We are needing to start working with a developer for many of our new projects. which a lot falls into you experience. I attached you our pitch deck for one of our new clients just so you get a quick visual of what we do. I would like to get you on a project this fall.

singlefawn.com

On Fri, Sep 20, 2019 at 10:53 PM Hannan Satopay notifications@github.com wrote:

@1997showroom https://github.com/1997showroom Yes, I am available to work as a developer on a wide variety of projects. I can work on the following project category: Data Science, Machine Learning, Cloud, Computer Vision, Web Development, App Development, Internet of Things just to name a few. I am fluent in Python (and all related libraries...even Flask), HTML/CSS/Javascript, PHP, Wordpress, R, C & C++. You can connect with me on LinkedIn where we can discuss further: https://www.linkedin.com/in/hannansatopay/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeithGalli/GUI/issues/2?email_source=notifications&email_token=AMMPNMCCOCYCVOEV23SCMHLQKWLDZA5CNFSM4ICHT6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IJVTA#issuecomment-533764812, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMPNMFGDOXYCCX7LIBN36TQKWLDZANCNFSM4ICHT6XA .

hannansatopay commented 5 years ago

@1997showroom I have gone through the Presentation file and it looks really neat! I am assuming you want a company website to be developed? I can definitely do that. Any way we can get in touch?

1997showroom commented 5 years ago

Amazing we will need some web stuff to but right now I want to start with a smaller a project a desktop simple app that helps us do our job better its a simple image layout generator. It's something I'm building that will help us internally, I will be able to design all UI and content assets I also am very hands on with all the function that it does and will have everything listed in detail. When this next week is a good time to have a intro call and move forward? singlefawn.com

On Sat, Sep 21, 2019 at 12:21 AM Hannan Satopay notifications@github.com wrote:

@1997showroom https://github.com/1997showroom I have gone through the Presentation file and it looks really neat! I am assuming you want a company website to be developed? I can definitely do that. Any way we can get in touch?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeithGalli/GUI/issues/2?email_source=notifications&email_token=AMMPNMFJ6IQU5IVSHH43ZRTQKWVOFA5CNFSM4ICHT6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IKYOQ#issuecomment-533769274, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMPNMGMZA75DP3IPAIMHKTQKWVOFANCNFSM4ICHT6XA .

1997showroom commented 5 years ago

I can do whats app, I'm in the states singlefawn.com

On Sun, Sep 22, 2019 at 6:16 AM River Today rvr.today@gmail.com wrote:

Amazing we will need some web stuff to but right now I want to start with a smaller a project a desktop simple app that helps us do our job better its a simple image layout generator. It's something I'm building that will help us internally, I will be able to design all UI and content assets I also am very hands on with all the function that it does and will have everything listed in detail. When this next week is a good time to have a intro call and move forward? singlefawn.com

On Sat, Sep 21, 2019 at 12:21 AM Hannan Satopay notifications@github.com wrote:

@1997showroom https://github.com/1997showroom I have gone through the Presentation file and it looks really neat! I am assuming you want a company website to be developed? I can definitely do that. Any way we can get in touch?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeithGalli/GUI/issues/2?email_source=notifications&email_token=AMMPNMFJ6IQU5IVSHH43ZRTQKWVOFA5CNFSM4ICHT6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IKYOQ#issuecomment-533769274, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMPNMGMZA75DP3IPAIMHKTQKWVOFANCNFSM4ICHT6XA .

1997showroom commented 5 years ago

I also added you on linkedin Im Imani Waddy singlefawn.com

On Sun, Sep 22, 2019 at 6:18 AM River Today rvr.today@gmail.com wrote:

I can do whats app, I'm in the states singlefawn.com

On Sun, Sep 22, 2019 at 6:16 AM River Today rvr.today@gmail.com wrote:

Amazing we will need some web stuff to but right now I want to start with a smaller a project a desktop simple app that helps us do our job better its a simple image layout generator. It's something I'm building that will help us internally, I will be able to design all UI and content assets I also am very hands on with all the function that it does and will have everything listed in detail. When this next week is a good time to have a intro call and move forward? singlefawn.com

On Sat, Sep 21, 2019 at 12:21 AM Hannan Satopay notifications@github.com wrote:

@1997showroom https://github.com/1997showroom I have gone through the Presentation file and it looks really neat! I am assuming you want a company website to be developed? I can definitely do that. Any way we can get in touch?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeithGalli/GUI/issues/2?email_source=notifications&email_token=AMMPNMFJ6IQU5IVSHH43ZRTQKWVOFA5CNFSM4ICHT6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IKYOQ#issuecomment-533769274, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMPNMGMZA75DP3IPAIMHKTQKWVOFANCNFSM4ICHT6XA .

1997showroom commented 5 years ago

did you get my email? singlefawn.com

On Sat, Sep 21, 2019 at 12:21 AM Hannan Satopay notifications@github.com wrote:

@1997showroom https://github.com/1997showroom I have gone through the Presentation file and it looks really neat! I am assuming you want a company website to be developed? I can definitely do that. Any way we can get in touch?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KeithGalli/GUI/issues/2?email_source=notifications&email_token=AMMPNMFJ6IQU5IVSHH43ZRTQKWVOFA5CNFSM4ICHT6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IKYOQ#issuecomment-533769274, or mute the thread https://github.com/notifications/unsubscribe-auth/AMMPNMGMZA75DP3IPAIMHKTQKWVOFANCNFSM4ICHT6XA .

hannansatopay commented 5 years ago

Yes, I have replied to you via email. We can carry forward our conversation over there!