Let me know if you have any ideas for what I should make in one line next :)
I only had to get over two problems that I hadn't yet encountered when working on this:
this
@app.route('/') def index(): return whatever
can be re-written as
index = app.route('/')(lambda : whatever)
ONE LINE ALL THE THINGS
@MarcusWeinberger HELL YEAH BUDDY
@MarcusWeinberger Mein gott...
Wait a sec, why isn't the dude getting mentioned. Look at your 2 mentions, they are a different color. @rafrafraf
live chatroom one liner! (1 line series)[no5]
You can literally make anything in one line ;)
Here is my one line flask py live chatroom!
Live chat here
Let me know if you have any ideas for what I should make in one line next :)
Explanation:
I only had to get over two problems that I hadn't yet encountered when working on this:
as you (probably) already know, with py flask you use decorators when routing - for example:
this
can be re-written as
ONE LINE ALL THE THINGS
@MarcusWeinberger HELL YEAH BUDDY
@MarcusWeinberger Mein gott...
Wait a sec, why isn't the dude getting mentioned. Look at your 2 mentions, they are a different color. @rafrafraf