This post is worth reviewing to see if your Python code will benefit. The suggestions here are at least somewhat portable to other languages. I used to write lots of command line apps and I’ve found that a good command line UI can be much better than a GUI for many use cases. https://blog.sicara.com/perfect-python-command-line-interfaces-7d5d4efad6a2
Thank you to Tanzeem Khan for his video on how to create a local network for VirtualBox . I’m not sure why this info is hard to find online, but his video is the first I saw that’s accurate and straightforward.