A smooth sea never made a skilled sailor. - Franklin D. Roosevelt
Hi Pythonistas, a new week, a new 'bite' of Python coding! Web apps tend to get all the love so it’s about time we shared the spotlight with GUIs. This week let’s take our first dive as a PyBites Community into Python GUIs!
We’re keeping this simple as this will be the first foray into GUIs for a lot of you (us included). All we’re asking you to do is create a simple GUI. Done!
You can use whatever framework or toolkit that floats your boat, just be creative and come up with a plain old GUI screen.
You could use an image as a backdrop with some overlays or even create your own type of Game “Main Menu” screen. The choice is yours.
We imagine that this may be a bit too simple for some of you, or may just be quicker to achieve than you thought. If that’s the case, why not add some functionality to the GUI? Consider this a bonus objective - not mandatory in the least.
For example, with the Game Main Menu screen, you could make a “Credits” button that then links to another screen which scrolls through fictional names.
Create a stopwatch GUI that actually has timing functionality. How about a calculator?
Whatever you decide, create a working GUI with added functionality and earn extra kudos.
Check out this comprehensive list of Frameworks/Toolkits to get started.
This doc also provides you with instructions how you can submit your code to our community branch via a Pull Request (PR). We will feature your PRs in our end-of-the-week challenge review (previous editions).
Last but not least: there is no best solution, only learning more and better Python. Good luck!
Keep Calm and Code in Python!
-- Bob and Julian
Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.
"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H
"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B
"This is now my favourite first Python go-to reference." - Anthony L
"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S