Innominus
Innominus
MModular
Created by Innominus on 9/17/2023 in #questions
How do we import and use something like flask
Attempting to replicate this snippet of Flask/Python code in Mojo:
from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello_world():
return "<p>Hello, World!</p>"
But I'm unsure how we replicate this in Mojo with the decorators and top level functions like this? Is it possible yet?
3 replies
MModular
Created by Innominus on 9/15/2023 in #questions
Support for Linux is only Ubuntu
Curious what's so special about Ubuntu that it's the only Linux distro that can be supported at the current time?
5 replies