KivyΒΆ
Why use the screen module?
Kivy's screen module is handy for emulating different screen sizes and dpis. This means that by using your dev machine, you can check out what your Kivy application would look like on other devices without having them. This is preferable to just guessing what your app would look like, but is in no way a replacement for actually having a test device.
Reference: https://kivy.org/doc/stable/api-kivy.modules.screen.html
Tkinter VS Kivy Tutorial Quickstart: Which one is right for you?
Why Use Tkinter or Kivy In the First Place?
Tkinter and Kivy are both cross platform GUIs that are commonly used by Python users. There are other frameworks out there but they are either: in another programming language, not available on all platforms, or a combination of both.
In this blog post, you will go through the hello world
steps of both GUI interfaces on as much platforms as possible to get a feel for which one is right for you.
Adding VLC to PyInstaller on Mac and Windows
Looking for PyInstaller Instructions?
Link here: PyInstaller Instructions
Why Use VLC In the First Place?
If you want to play multimedia and audio in Python, there are some options for you.
One choice is VLC: It is lightweight, free and open source. VLC also works on many devices, like Windows, Linux, Mac, Android and iOS.
In this tutorial we will:
- Set up a new project called BasicPyVLC and environment with Poetry
- Use VLC to play audio in terminal for BasicPyVLC
- Package VLC in a spec file
- Package BasicPyVLC project on Windows using PyInstaller
- Package BasicPyVLC project on Mac using PyInstaller
- Check the packaged exe works on Windows and Mac with NO VLC previously installed (by testing on a Windows guest Virtual Machine sending the exe through shared network folders, dropbox, github, etc)