Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Classes(python)

Name: Anonymous 2008-11-15 19:36

Okay, I have a project that requires me to make a calender with a event planner on the side using a GUI.  I need to be able to switch months and enter in text, etc.  However the teacher is making us use classes, which I hate cause I have no clue how to use them, even after looking up multiple sources.  SO my question is, how do they work?

Name: Anonymous 2008-11-15 19:38

Well, they have instances.

Name: Anonymous 2008-11-15 19:39

Yeah, got that, but I was wondering how to use them.  I basically need to use a class that will save text I enter into a file I name.

Name: Anonymous 2008-11-15 19:41

Everything is an object.

Name: Anonymous 2008-11-15 19:43


    class ass:
        def __init__(self):
            self.ass = ass


>>> you = ass()
>>> you.ass = 'open'
>>> you.ass
'open'
>>> quit()

Name: Anonymous 2008-11-15 19:48

>>4
If everything is an object, then nothing is an object as well.

Name: Anonymous 2008-11-15 19:49

>>6
Nothing is an empty set.

Name: Anonymous 2008-11-15 19:51

Xarn is an empty set.

Name: Anonymous 2008-11-15 20:03

The Sussman is an empty set!

Name: Anonymous 2008-11-15 20:12

Peyote `Simon` Joints is a mempty.

Name: Anonymous 2008-11-15 20:16

classes = structures and functions relevant to manipulating them.

Name: Anonymous 2008-11-15 20:21

>>3
You may already be familiar with the file class that does exactly that.

Name: Anonymous 2008-11-15 20:54

>>1
Listen more in class.

Name: Anonymous 2008-11-16 14:04

>>13
AMBIGUITY MOTHERFUCKER DO YOU USE IT

Name: Anonymous 2008-11-16 14:10

+ listen

Name: Anonymous 2009-03-06 6:49


strtr in python Any   help in anything   I want to   do robotics in   the future i!

Name: Anonymous 2009-03-06 8:33

Found a source of   the forced memes   DO YOU WANT   to get anything   besides say print.

Name: Trollbot9000 2009-07-01 7:56

else if argv i.

Name: Trollbot9000 2009-07-01 9:56

The Red Book still only discusses OpenGL  1 1 Fine.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List