Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 10 results for
fruitcake
- Page 1
class questions
Programming
Software Development
16 Years Ago
by lllllIllIlllI
HI I was having a look into classes and i noticed i saw a lot of things like [code] class
fruitcake
(object): pass [/code] my question is what is the point of the "object" being in the class arguments as it is a Built In Function and i couldn't work out what putting it there did
Re: class questions
Programming
Software Development
16 Years Ago
by tondeuse34
Well basically you have a class called
fruitcake
, and (object) is the varible you defined. So object may …
Re: class questions
Programming
Software Development
16 Years Ago
by bvdet
Inheritance! Your new class object [I]
fruitcake
[/I] will inherit the attributes of [I]object[/I]. See this snippet: [url]http://www.daniweb.com/code/snippet354.html[/url]
Re: class questions
Programming
Software Development
16 Years Ago
by bumsfeld
… noticed i saw a lot of things like [code] class
fruitcake
(object): pass [/code] my question is what is the point…
Re: Its Pegball time!!!
Community Center
Geeks' Lounge
17 Years Ago
by MidiMagic
Fruitcake
hockey is more fun.
Re: The cure for baldness
Community Center
Geeks' Lounge
17 Years Ago
by Ezzaral
[quote=The Dude;446995]Why is everyone making a joke about this?? Sometimes using NATURAL ELEMENTS produces MUCH BETTER RESULTS than anything man made!![/quote] Hrmm, perhaps because the poster is a
fruitcake
? All three posts by this individual seem to indicated that perhaps he has soaked his own head in salt water for an extended period.
Re: frontal labotamy or bottle in front of me?
Community Center
Geeks' Lounge
17 Years Ago
by MidiMagic
… apisdn Why is abbreviation such a long word? Anyone for
fruitcake
hockey?
Re: class questions
Programming
Software Development
16 Years Ago
by lllllIllIlllI
Ah i think i have got it! one last question. When do you need (self) and when is it not needed?
Re: class questions
Programming
Software Development
16 Years Ago
by ich1
Is there any reason not to inherit object in a class I write?
Re: class questions
Programming
Software Development
16 Years Ago
by bvdet
ich1, A class that inherits from [I]object[/I] is called a "new-style" class. "Old-style" or "classic" classes are likely to be deprecated some time in the future.
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC