ModularM
Modular•3y ago•
1 reply
avo_cuddle🥑

%%python not working

Hello, i want to use some python inside my mojo files. When i run the cli mode on my wsl ubuntu, i can use the %%python functionality. However on the wsl vscode i get "expressions are not yet supported on the file scope level". However in the official github code example https://github.com/modularml/mojo/blob/main/examples/simple_interop.py it looks like there is already interop support. did I do some installation mistake or is this the case for everyone ? thank you.
GitHub
The Mojo Programming Language. Contribute to modularml/mojo development by creating an account on GitHub.
mojo/examples/simple_interop.py at main · modularml/mojo
Was this page helpful?