Create a Text Completion ChatGPT A.I. Bot With Tkinter (Udemy.com)
Learn to Connect Your Python Apps To OpenAI The Fast And Easy Way!
Created by: John Elder
Last updated January 2023
Our take
Based on the ratings of 420 students, a sample of their written reviews and the syllabus, as the course stood in January 2023. No course pays to be reviewed.
John Elder's short course is really a Tkinter project with an OpenAI call added at the end. Across 24 lectures and about 85 minutes, the syllabus spends most of its time building a GUI with Tkinter and CustomTkinter. Then come 15 minutes on the API and a short section on pushing code to GitHub. It suits people with a little Python who want a working desktop chatbot fast. The catch is age. It was last updated in January 2023 and uses the davinci-003 completion model, so expect to adapt the API code to today's OpenAI library.
Reviewers like Elder's teaching. They call it clear, well prepared and free of fluff, and one self-described non-programmer says he was able to follow along. More than one points out that it's more about Tkinter than ChatGPT, which is fair. Low ratings are rare, 6 of 420 at one or two stars, and they come from mismatched expectations. One student wanted to build a ChatGPT-style website. Another noted that davinci-003 isn't ChatGPT and has no conversational memory.
At 1.4 hours it's an evening project, not a course in AI development. Take it for a quick, guided Tkinter build that ends in something that works, and plan to check the current OpenAI docs when the API section shows its age. Anyone after chat apps with memory or a web front end should look elsewhere. For that narrow goal it's a reasonable buy.
Pros
- Short and focused: 85 minutes from setup to a working chatbot app, with no filler, reviewers say
- Elder explains step by step, and one non-programmer in the reviews says he kept up
- CustomTkinter gives the app a more modern look than plain Tkinter
- Includes a short section on uploading the finished project to GitHub
Cons
- Last updated January 2023 and built on davinci-003, so the OpenAI code likely needs updating
- Mostly a Tkinter course. The API part is only about 15 minutes
- The bot has no conversation memory, and there are no exercises or quizzes
Course delivers what it promises, it's more about Tkinter than ChatGPT. But, you will have a working and neat ChatBot at the end.
Beginner works if you already know basic Python. Some earlier Tkinter exposure helps but isn't required.
What you will learn
- Intro To the OpenAI ChatGPT API
- Introductory To Intermediate TKinter
- Introductory To Intermediate CustomTkinter
- Introductory Use of Python
Course content
5 sections · 24 lectures · 1.4 hours of video
- 1Introduction and Setup 2 free previews7 lectures · 18 min
- 2Build Out The Tkinter GUI 1 free preview10 lectures · 37 min
- 3ChatGPT API3 lectures · 15 min
- 4Upload Code To Github3 lectures · 11 min
- 5Conclusion1 lecture · 4 min
Who it is for
The instructor says it suits
- This course is geared towards anyone who's interested in programming ChatGPT from Open AI.
- This course is aimed towards beginers through intermediate Coders who want to learn the to build Apps With TKinter and Python
What you need before you start
- No special tools are necessary to take this course
- A Basic Understanding of Python and TKinter Is Helpful
How it compares
Against the other 208 rated Udemy courses in ChatGPT & Prompt Engineering on CourseDuck:
- Rating4.4 out of 5higher than 29% of them
- Reviews420#126 of 209 by number of reviews
- Length1.4 hoursshorter than 88% of them
- Last updatedJanuary 2023earlier than 99% of them
Course Description
In this course I'll teach you how to make graphical user interfaces for Python using TKinter, and how to connect those apps to the OpenAI Text Completion Artificial Intelligence API. You'll be surprised just how quickly you can create some pretty cool looking apps!
We'll use Python, Tkinter, and CustomTkinter to build a cool Chatbot app that connects to OpenAI, maker's of ChatGPT.
You'll be able to send ChatGPT-like questions straight from your app, and receive a response that is output to the screen of your app.
We'll use davinci-003, the most advanced model offered by OpenAI to get our responses.
Finally, I'll discuss how to connect to OpenAI with an API Key, query the engine, and parse the responses in the correct way.
If you've seen ChatGPT recently and want to learn how to use these types of tools programmatically, then this is the course for you!
We'll use the customTkinter library to make our Tkinter app look a little more modern and professional. Some people think that Tkinter is a little old and stodgy looking. The CustomTkinter library solves that problem very easily.
We won't dive into customTkinter in great detail in this course, we'll just use bits of it here and there to make our app look more modern. So if you have no experience with customTkinter, you won't have any trouble following along; I'll walk you through it step by step!
Instructor Details
- 4.4 Rating
420 Reviews
John Elder
John Elder is a pioneer in Web Development who created one of the first Internet advertising networks back in 1997. He sold it to a publicly traded company at the height of the dot com boom and then went on to create the best-selling Submission-Spider search engine submission software that's been used by over 3 million individuals and small businesses in over 45 countries.
Today he teaches Web Development courses at Codemy the online code school he founded.
John graduated with honors with a degree in Economics from Washington University in St. Louis where he was an ArtSci Scholar.
More courses by John Elder
Intro To PostgreSQL Databases With PgAdmin For Beginners (2023)
4.5 (7,751 Reviews)
Provider: Udemy
Time: 2h
$13.99
Original priceUsing MySQL Databases With Python (2023)
4.6 (1,718 Reviews)
Provider: Udemy
Time: 2.2h
$10.99
Original priceBuild An API With The Django Rest Framework Using Python (2023)
4.5 (1,229 Reviews)
Provider: Udemy
Time: 1.4h
$11.99
Original priceTop Node and Javascript Bundle: Learn Node and JS (2023)
4.3 (1,126 Reviews)
Provider: Udemy
Time: 8.2h
$11.99
Original priceRuby Programming For Everyone (2023)
4.3 (1,070 Reviews)
Provider: Udemy
Time: 1.9h
$11.99
Original pricePython Django Web Development: To-Do App (2023)
4.5 (973 Reviews)
Provider: Udemy
Time: 2.1h
$13.99
Original price
More ChatGPT & Prompt Engineering courses
ChatGPT, Gemini, Copilot, Web LLMs - AI for Work | Business (2026)
4.9 (168 Reviews)
Provider: Udemy
Time: 4.8h
$10.99
Original priceChatGPT for Customer Service Success Competitive Analysis AI (2026)
4.9 (139 Reviews)
Provider: Udemy
Time: 1.6h
$9.99
Original priceChatGPT and LangChain: The Complete Developer's Masterclass (2026)
4.7 (3,820 Reviews)
Provider: Udemy
Time: 12.3h
$15.99
Original priceMastering OpenAI Python APIs: Unleash ChatGPT and GPT4 (2024)
4.7 (3,096 Reviews)
Provider: Udemy
Time: 13.2h
$15.99
Original priceChatGPT Marketing: Create Complete Campaigns w/ Chat GPT AI (2026)
4.7 (1,853 Reviews)
Provider: Udemy
Time: 4h
$16.99
Original pricePrompt Engineering: Getting Future Ready (1000+ Prompts inc) (2025)
4.7 (843 Reviews)
Provider: Udemy
Time: 8.6h
$12.99
Original price
Reviews
By Shahabuddin Nadeem on 11/12/2024
I really enjoy the course very much and the way John wrote and explained the codes just awesome and make me feels like ..... hey, I can do that as well. Thanks for such an awesome teaching, looking forward for other courses from you.
By Thomas OLSSON on 7/4/2023
Nice with a bite-sized training. Fun to get a Python to ChatGPT integration up and running. I think the focus of the course is actually using Tkinter framework to create a simple GUI for interacting with the app.
By Anonymized User on 5/18/2023
Course delivers what it promises, it's more about Tkinter than ChatGPT. But, you will have a working and neat ChatBot at the end.
By Edith Mendoza Moreno on 4/18/2023
Great hands on course, at first I thought it was too fast and advanced for me but I eventually got up to speed and was able to go through it and troubleshoot the issues I was encountering throughout the way with ease. Instructor is very clear and explains very well. I highly recommend this course.
By Saurav Sarkar on 2/17/2023
I gave 1.5 ratings because I was looking for a course which teaches you how to build chatgpt like websites. Rather in this courses it uses its api and build a tinker app
By Carlos Olvera on 2/16/2023
I was unsure how this would turn out from start to now and i am so amazed at how far I came with following step by step instructions from your video, this would be so cool to use as an app on my phone maybe one day you can do something like this in the future keep up the good work.!! 5 stars from me!!
By Edward Madigan on 2/14/2023
Excellent material on tkinter, ChatGPT, and github. Straightforward in John's typical style. Easy to follow along and it works. Walking away from the course with something useful.
By Anonymized User on 2/6/2023
Wow, this was quick and the presenter was well prepared. No fumbling around, every video gives you exactly what you need to know without any additional fluff. The app works great!
By Genius on 2/2/2023
Doing this for MacOS was a bit more challenging because this was mainly taught from a Windows perspective. But the instructor was responsive to my question about Mac Terminal usage.
By Zachary Hermenau on 1/18/2023
Everything you need to know and thoroughly explained I wish there were a way to run the code with a launcher or expand the chat size because it is so small that it is hard to do anything with the information. I'd pay for a tutorial on some upgrades for this, concerning the above
By Zabeel M Basheer on 1/15/2023
It was beautiful to code a desktop app with Tkinter for ChatGPT, making the whole ChatGPT experience much more personal...
By Carlo Nicolo' on 1/14/2023
Yeah I really enjoyed it ! Easy but useful example to test the super power of ChaGPT making a nice simple GUI interface with Python and tkinter. Good job !
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100












