Python's version of a ternary operator is

<A> if <condition> else <B>

I hate this

@wallhackio You also program in Python? Besides Java & JavaScript? :psyduck:

Follow

@vaporeon_ we built a desktop application with Python, which I can say from experience is an absolute nightmare and you shouldn't do it

@vaporeon_ it has nothing to do with Python and everything to do with the fact that all of the Python frameworks for desktop application development are not good yet

@vaporeon_ IF THE APPLICATION IS COMPLICATED. for simple little teeny things there are plenty of awesome Python libraries

@wallhackio I've tried Tkinter before, but it makes you do object-oriented stuff if I remember correctly

Unlike real Tcl/Tk where you can just write extremely sloppy code and it'll Just Work

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.