kyleb1328
kyleb1328
MModular
Created by Deleted User on 9/9/2023 in #questions
Issue with installing on fedora 38
probably safer to stick with ubuntu until they roll out more Linux compatibility: https://docs.modular.com/mojo/manual/get-started/index.html
5 replies
MModular
Created by zack on 9/9/2023 in #questions
Support for Python requests?
this should work as well:
from python import Python

fn main():
try:
let req = Python.import_module("requests")
let response = req.request("GET", "http://xyz:123/abc")
print(response.text)
except ImportError:
print("Please install requests module")
from python import Python

fn main():
try:
let req = Python.import_module("requests")
let response = req.request("GET", "http://xyz:123/abc")
print(response.text)
except ImportError:
print("Please install requests module")
7 replies
MModular
Created by zack on 9/9/2023 in #questions
Support for Python requests?
im interested in that too. wondering if its on the roadmap
7 replies