M
Modular14mo ago
ldw

How do I use or import top-level python functions in Mojo?

How would I use top-level python functions like round() and map()?
1 Reply
ldw
ldwOP14mo ago
Ah, I found the answer by browsing other questions...: from python import Python fn main() raises: let builtins = Python.import_module("builtins")
Want results from more Discord servers?
Add your server