Python Programming - Creating an Array of Class Objects

Python Programming - Creating an Array of Class Objects

Tutorial Spot

3 года назад

12,499 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mustafa
Mustafa - 03.01.2023 10:16

font size????

Ответить
Adrian Kozakiewicz
Adrian Kozakiewicz - 04.12.2022 18:00

In python this strukture made by brackets "[ ]" is called list. Lists are allocated differently in pcs memory. Arrays can be made with numpy lib. I hoped this video would be about numpy

Ответить
Earth Chan
Earth Chan - 13.08.2022 17:15

thank you very muchhh!! i ve been searching for this video!!

Ответить
Clarel Steeven
Clarel Steeven - 02.07.2022 11:05

Great thank you, but how about.
file processing?

How do Creating an Array of Class Objects from a textfile.txt

I create an empty array.
I open and read the file.
Make a loop to read each lines, split. but
And How do create an object of the class car and append it to the empty?

Ответить
Philipp
Philipp - 27.03.2022 20:57

This doesn’t let me call each class objects by a variable name. Didn’t help.

Ответить
Taku
Taku - 11.01.2022 20:38

nice video. What do I have to do tho, when I want to add those things like car, model, colour with a user input? I tried it and I got that syntax error "expression cannot contain assignment, perhaps you meant "=="?"

Ответить
Whimsy
Whimsy - 26.11.2021 07:23

You're an objectively amazing person

Ответить
Matthias Burger
Matthias Burger - 29.04.2021 22:20

thanks for upload the code.

Ответить
Tony Ferru
Tony Ferru - 12.10.2020 08:38

Nice! Just a little advice, do some ctrl+scrolling for a bit more of zoom (a tiny bit). Will help!

Ответить
Roa V.
Roa V. - 08.10.2020 09:15

Haha glad you’re back

Ответить