Build Beautiful Software With Python

Welcome back! Python is an awesome programming language with a ton of capability, if you’re new to Python, check out the link below to learn more about it:
So, let’s take a look at an awesome Python package that allows us to build beautiful software! This specific package is called CustomTkinter, and it’s a modern version of the original Tkinter package, here is a link to their GitHub repository if you want to learn more about this package:
This specific package allows us to build very modern looking GUI’s, while still using the Tkinter features as well! Here are a few examples of the capability behind this package:


To install this package, you can use the following pip command:
pip3 install customtkinterOnce installed, you are ready to go! You can use the following example code (from their GitHub) that showcases a very basic example:
import tkinter
import customtkinter
customtkinter.set_appearance_mode("System") # Modes: system (default), light, dark
customtkinter.set_default_color_theme("blue") # Themes: blue (default), dark-blue, green
app = customtkinter.CTk() # create CTk window like you do with the Tk window
app.geometry("400x240")
def button_function():
print("button pressed")
# Use CTkButton instead of tkinter Button
button = customtkinter.CTkButton(master=app, text="CTkButton", command=button_function)
button.place(relx=0.5, rely=0.5, anchor=tkinter.CENTER)
app.mainloop()This is the output:

At this point you are ready to go! Do you plan on building software with this package? I would love to hear your thoughts about this!
Thanks So Much!
if you have any suggestions, thoughts, or just want to connect, feel free to contact/follow me on Twitter! Also, below is a link to some of my favorite resources for learning programming:
Thanks so much for reading!
