2 ms·
I'm currently developing a small card game in Python that is completely cross-platform. Basically, if the OS has Python 3, my game will run without any issue. I
by ferrari8608 12y ago
I'm currently developing a small card game in Python that is completely cross-platform. Basically, if the OS has Python 3, my game will run without any issue. It has been tested with Windows and Linux so far. The GUI uses the Python Tkinter library, which is an interface to Tcl/Tk and is included in Python's standard library. The widgets actually blend in well with the rest of the OS in the more recent versions if the library.
So that's one way to do it, though I wouldn't recommend it for a larger app. Developing a GUI with Tkinter takes a fair bit of work. Also, I decided to learn the library by starting that project, so that probably made it a bit more tedious for me than it would have been to someone more familiar with the tools. It's a solid option for a small app, though.
An option I've considered for a future project is Kivy [0]. It's a cross-platform Python library which is supposed to allow for quick cross-platform UI development.
[0] http://kivy.org/#home http://kivy.org/#home