Jimmy Smith Jr.
MModular
•Created by aviral shastri on 9/11/2023 in #questions
Mojo user input
In a file, it's there by default, in the command line it should be
Ctrl + D
57 replies
MModular
•Created by aviral shastri on 9/11/2023 in #questions
Mojo user input
By default this reads until it hits EOF if that is what you mean.
57 replies
MModular
•Created by aviral shastri on 9/11/2023 in #questions
Mojo user input
Currently mojo is not supported on Windows, but if it will be, this approach will not work.
57 replies
MModular
•Created by aviral shastri on 9/11/2023 in #questions
Mojo user input
I was wrong with the wording, it will only not work on Windows 😅 I edited my comment.
57 replies
MModular
•Created by aviral shastri on 9/11/2023 in #questions
Mojo user input
When I needed to read user input, I went like
Though this will only work on linux and mac, I guess.
57 replies
MModular
•Created by Jimmy Smith Jr. on 1/8/2024 in #questions
Was there any specific reason for the current template syntax?
Thanks for the answer
8 replies
MModular
•Created by Jimmy Smith Jr. on 1/8/2024 in #questions
Was there any specific reason for the current template syntax?
I see. I wasn't aware that python had such proposals.
8 replies
MModular
•Created by chebu_pizza on 12/13/2023 in #questions
Is it possible to push mojo code on GitHub?
According to a discussion yesterday it has to be
.mojo
atm. See https://discord.com/channels/1087530497313357884/1098713601386233997/118427979772829290516 replies