Thanks to the latexify_py module that gives me the idea of interface and the lessons of python syntax analyzing and the usage of inspect hey dude I also contributed to latexify_py that's a really handy module go star it Thanks to the fire library that inspired me the idea Apply QSS(CSS-like) style sheets for widgets to make them look better.Add more layouts, make them available to get changed.Of course I advise you to choose gooey if you're familiar to it and need deep customization, but if you only need a light-weight, pain-less, quick-deployment GUI framework, maybe Clarisse is an alternative!. I failed to learn it - the doc of gooey is too too much for a non-native speaker like me :sob:.you have to implement an ArgumentParser : sad story for fire and click users :cry:.Gooey is an outstanding and all-around framework for almost all kinds of python programs, but it upper ()) return arg2 > 10 print ( func ()) # actually doesn't need parameters when calling, # but need to be given before Run is clicked. () def func ( arg1, arg2 : int, arg3 : str = "have a try" ) -> bool : """This is only a ***test*** function\\ but enough to show what clarisse do!""" print ( "arg1 is ". Īny time when func() is called, a GUI will be showed, allowing user to manually input/modify/check the arguments about to be given to the original func() and get executed. To give a GUI to a function like above, simply: from clarisse import Clarisse () def func ( arg1, arg2 : int, arg3 : str = "have a try" ) -> bool. If you have a function like def func ( arg1, arg2 : int, arg3 : str = "have a try" ) -> bool. With at least one single line of code, you can easily create a user-friendly GUI for your code(or a part of your code), yet not make other changes! TL DR Clarisse is a light-weighted Python function GUI framework.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |