ct
MModular
•Created by ct on 9/28/2023 in #questions
How can I create a Python list to add and remove structs?
Thanks for the reply
9 replies
MModular
•Created by ct on 9/28/2023 in #questions
How can I create a Python list to add and remove structs?
I did read "https://docs.modular.com/mojo/programming-manual.html" a while ago and did not find how to use Python like list. There is an example of implementation of array but it is not dynamic.
9 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
Ok. https://docs.modular.com/mojo/programming-manual.html#register_passable-struct-decorator Notice that
__init__
does not need 'self'20 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
I think the parens are necessary and should call the
__init__
with "self" being provided20 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
This is what I got now:
error:
20 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
does it download the 350MB or so or is it smart about it?
20 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
do you have a newer version?
20 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
mojo --version
mojo 0.2.1 (64d14e85)
20 replies
MModular
•Created by ct on 9/13/2023 in #questions
newbie needs help with error messages
this is what I get
20 replies
MModular
•Created by ct on 9/13/2023 in #questions
What kind of list should I use to add struct instances
Thanks for the reply.
4 replies