Python Forum
Help | Classes to use in real world
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help | Classes to use in real world
#7
soothsayerpg Wrote:Are we obligated to use each and every class section whenever we construct a class
No of course not. There are small classes that use only a small part of class features.
soothsayerpg Wrote:why didn't you declare inheritance on your Class from PyAutoGui?
Why would I? I don't even know if PyAutoGui is a class. Use inheritance only if you have a very good reason to do so. As you are a beginner, start with simple classes.
Reply


Messages In This Thread
RE: Help | Classes to use in real world - by Gribouillis - Jul-06-2019, 10:36 AM
RE: Help | Classes to use in real world - by nilamo - Jul-08-2019, 07:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  World Clock syntax error OscarBoots 1 317 May-03-2024, 05:20 AM
Last Post: snippsat
  Hello World! rufenghk 0 1,018 Jun-02-2022, 09:48 PM
Last Post: rufenghk
  Very new to Python world daveseaman 0 1,533 Jun-25-2021, 07:17 PM
Last Post: daveseaman
  running python hello world Avarage_Joe 8 5,413 Apr-13-2018, 04:20 PM
Last Post: Avarage_Joe
  Hello world! program, window disappears nerio 3 5,743 Mar-16-2018, 07:03 PM
Last Post: knackwurstbagel
  Using classes? Can I just use classes to structure code? muteboy 5 5,205 Nov-01-2017, 04:20 PM
Last Post: metulburr
  'Hello, World!' Problem - Urgent OmarSinno 7 4,740 Sep-07-2017, 06:22 AM
Last Post: OmarSinno
  how to generate random 3d world (like minecraft) in python hsunteik 3 117,876 Jan-06-2017, 06:35 PM
Last Post: metulburr
  Hello World issues when using %% with ipython landlord1984 5 9,132 Dec-11-2016, 10:11 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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