"T MURPHY" <t...@hotmail.com> wrote
how do i go about creating a class in python.

class C: pass

is the simplest way. But it's not very useful, being empty.

But most tutorials discuss OOP, which one are you using?

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to