Python Forum
[split] Python Class Problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Python Class Problem
#4
(Apr-29-2020, 06:09 AM)astral_travel Wrote: so a class is really a description of an object, true ?

yes - in general sense it's a "blueprint" of a thing. You can read more
https://en.wikipedia.org/wiki/Class_(com...ogramming)

so, for example, in this case it would make more sense if the class is named FileLoader (i.e. thing), than file_load (i.e. action)


(Apr-29-2020, 06:09 AM)astral_travel Wrote: and still i haven't understood why is it called a class...

what exactly worries you in class? Even outside of programming one of meanings of class is set or category of things having some property or attribute in common and differentiated from others by kind, type, or quality.
https://www.merriam-webster.com/dictionary/class (see 3)
https://www.oxfordlearnersdictionaries.c...sh/class_1 (see 8)
https://www.lexico.com/definition/class (see 1)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
[split] Python Class Problem - by astral_travel - Apr-28-2020, 08:36 PM
RE: [split] Python Class Problem - by astral_travel - Apr-29-2020, 07:33 AM
RE: [split] Python Class Problem - by ndc85430 - Apr-29-2020, 07:41 AM
RE: [split] Python Class Problem - by buran - Apr-29-2020, 07:59 AM
RE: [split] Python Class Problem - by astral_travel - Apr-29-2020, 08:01 AM
RE: [split] Python Class Problem - by buran - Apr-29-2020, 08:16 AM
RE: [split] Python Class Problem - by astral_travel - Apr-29-2020, 08:20 AM
RE: [split] Python Class Problem - by michael1789 - Apr-29-2020, 07:13 PM
RE: Python Class Problem - by michael1789 - Apr-28-2020, 11:22 PM
RE: Python Class Problem - by astral_travel - Apr-29-2020, 06:09 AM
RE: Python Class Problem - by buran - Apr-29-2020, 06:31 AM
RE: Python Class Problem - by astral_travel - Apr-29-2020, 06:39 AM
RE: Python Class Problem - by buran - Apr-29-2020, 06:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Class and methods ebn852_pan 2 102 5 hours ago
Last Post: Gribouillis
  class definition and problem with a method HerrAyas 2 310 Apr-01-2024, 03:34 PM
Last Post: HerrAyas
  Class test : good way to split methods into several files paul18fr 4 546 Jan-30-2024, 11:46 AM
Last Post: Pedroski55
  [split] Class takes no arguments bily071 2 676 Oct-23-2023, 03:59 PM
Last Post: deanhystad
  Practice problem using lambda inside the class jagasrik 3 2,226 Sep-12-2020, 03:18 PM
Last Post: deanhystad
  Python Class Problem JPCrosby 2 2,321 Apr-28-2020, 06:18 PM
Last Post: buran
  Class problem duckduck23 2 2,052 Feb-10-2020, 08:52 PM
Last Post: jefsummers
  Class code problem from CS Dojo YouTube Dixon 3 2,303 Feb-04-2020, 10:23 PM
Last Post: snippsat
  Class Problem scratchmyhead 3 2,372 Nov-19-2019, 08:28 AM
Last Post: Larz60+
  split by character class Skaperen 3 2,382 Jul-15-2019, 02:29 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020