Re: pygame - importing GL - very bad...

2013-01-01 Thread Steven D'Aprano
On Wed, 02 Jan 2013 00:49:36 +0100, someone wrote: > On 01/01/2013 12:49 PM, Steven D'Aprano wrote: > > On Tue, 01 Jan 2013 12:00:32 +0100, someone wrote: > > > >> See this code (understand why I commented out first line): > >> > >> # from OpenGL.GL import * > > [...] > >> The reason why I

Re: Handling Special characters in python

2013-01-01 Thread Chris Rebert
On Jan 1, 2013 8:48 PM, wrote: > On Wednesday, January 2, 2013 12:00:06 AM UTC+5:30, Chris Rebert wrote: > > On Jan 1, 2013 3:41 AM, wrote: > > > > > I am facing one issue in my module. I am gathering data from sql server database. In the data that I got from db contains special characters like "

Re: Noob: Trying to run two python scrips on a pfsense/freeBSD for the OWL-Intuition-LC

2013-01-01 Thread Vineet Bhojnagarwala
I've print statements in my code for troubleshooting purpose, but I do not find it in any of the logs in /var/log/, not even system.log. Anything that I need to do for it to write the log ? -- http://mail.python.org/mailman/listinfo/python-list

Re: got stuck in equation

2013-01-01 Thread Ramchandra Apte
On Tuesday, 1 January 2013 22:55:21 UTC+5:30, Usama Khan wrote: > am just a begginer bro. . jus learnt if elif while nd for loop. . > > > > can u just display me the coding u want. .it could save my time that i have > while searchning SN out. . i will give u that dependable variables values.

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Ramchandra Apte
On Friday, 28 December 2012 01:31:16 UTC+5:30, mogul wrote: > 'Aloha! > > > > I'm new to python, got 10-20 years perl and C experience, all gained on unix > alike machines hacking happily in vi, and later on in vim. > > > > Now it's python, and currently mainly on my kubuntu desktop. > >

Re: Handling Special characters in python

2013-01-01 Thread anilkumar . dannina
On Wednesday, January 2, 2013 12:00:06 AM UTC+5:30, Chris Rebert wrote: > On Jan 1, 2013 3:41 AM, wrote: > > > > > > I am facing one issue in my module. I am gathering data from sql server > > database. In the data that I got from db contains special characters like > > "endash". Python was ta

Re: Noob: Trying to run two python scrips on a pfsense/freeBSD for the OWL-Intuition-LC

2013-01-01 Thread wrw
On Jan 1, 2013, at 9:42 PM, vbho...@gmail.com wrote: > Hi, > > I wrote couple of scrips to work with OWL-intution-LC home/office electricity > monitor. The concept of the first scrip (owl.py) to capture network multicast > from the OWL gateway and write to a .csv file has been taken from a > r

Re: numpy has got newtonsmethod?

2013-01-01 Thread Chris Angelico
On Wed, Jan 2, 2013 at 11:34 AM, Usama Khan wrote: > yeah i have read it sir CrisA. .:) > > thanks . .:) > > i wish i could make u watch my google search list of last two days nd idm > downlaodng list of last two days. .text me ur email id. .i can show u my > efforts. . > :) Well, my "email id"

Re: how to solve complex equation?

2013-01-01 Thread someone
On 01/01/2013 10:49 PM, Jens Thoms Toerring wrote: Usama Khan wrote: how to solve complex equation in pyhton? and then use it to make a program. . i have created new post as my last post is i guessed ranked as a cheater. .:( i know very litle about python as well as programing. . which eq

Re: pygame - importing GL - very bad...

2013-01-01 Thread someone
On 01/02/2013 04:01 AM, Nobody wrote: On Wed, 02 Jan 2013 00:49:36 +0100, someone wrote: In [11]: del format --- NameError Traceback (most recent call last) in () > 1 del format NameErr

Re: pygame - importing GL - very bad...

2013-01-01 Thread Nobody
On Wed, 02 Jan 2013 00:49:36 +0100, someone wrote: > In [11]: del format > --- > NameError Traceback (most recent call last) > in () > > 1 del format > > NameError: name 'format' is not de

Noob: Trying to run two python scrips on a pfsense/freeBSD for the OWL-Intuition-LC

2013-01-01 Thread vbhoj74
Hi, I wrote couple of scrips to work with OWL-intution-LC home/office electricity monitor. The concept of the first scrip (owl.py) to capture network multicast from the OWL gateway and write to a .csv file has been taken from a raspberrypi forum and further developed upon to work with sqlite. T

Re: numpy has got newtonsmethod?

2013-01-01 Thread Steven D'Aprano
On Tue, 01 Jan 2013 16:42:13 -0800, Usama Khan wrote: > Traceback (most recent call last): > File "C:/Python27/12.py", line 4, in > import scipy # also has log > File "C:/Python27\scipy\__init__.py", line 114, in > raise ImportError(msg) > ImportError: Error importing scipy: you can

Re: numpy has got newtonsmethod?

2013-01-01 Thread Vlastimil Brom
2013/1/2 Usama Khan : > thanks. . > > but how to instal scipy. because its in .rar form. .i have extracted the > files to the place where python2.7 is installed. . but everytime i write > import sciPy. .it give me error. . > nd regarding ur question. . > > its a long story telling u why i have ju

Re: numpy has got newtonsmethod?

2013-01-01 Thread Usama Khan
k thanks :) -- http://mail.python.org/mailman/listinfo/python-list

Re: numpy has got newtonsmethod?

2013-01-01 Thread alex23
On Jan 2, 10:34 am, Usama Khan wrote: > i wish i could make u watch my google search list of last two days nd idm > downlaodng list of last two days. .text me ur email id. .i can show u my > efforts. . > :) I'm guessing it would show you flailing around and _not_ typing "numpy newton's method",

Re: numpy has got newtonsmethod?

2013-01-01 Thread alex23
On Jan 2, 10:28 am, Usama Khan wrote: > but how to instal scipy. because its in .rar form. .i have extracted > the files to the place where python2.7 is installed. . but everytime > i write import sciPy. .it give me error. . If you want help, you have to remember we can't magically detect your de

Re: numpy has got newtonsmethod?

2013-01-01 Thread Usama Khan
Traceback (most recent call last): File "C:/Python27/12.py", line 4, in import scipy # also has log File "C:/Python27\scipy\__init__.py", line 114, in raise ImportError(msg) ImportError: Error importing scipy: you cannot import scipy while being in scipy source directory; ple

Re: numpy has got newtonsmethod?

2013-01-01 Thread Usama Khan
yeah i have read it sir CrisA. .:) thanks . .:) i wish i could make u watch my google search list of last two days nd idm downlaodng list of last two days. .text me ur email id. .i can show u my efforts. . :) -- http://mail.python.org/mailman/listinfo/python-list

Re: numpy has got newtonsmethod?

2013-01-01 Thread Usama Khan
thanks. . but how to instal scipy. because its in .rar form. .i have extracted the files to the place where python2.7 is installed. . but everytime i write import sciPy. .it give me error. . nd regarding ur question. . its a long story telling u why i have just ask this breif question. . anyw

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread jussij
FWIW on the Windows platform the Zeus IDE has support for Python: http://www.zeusedit.com/python.html Zeus does the standard Python syntax highlighting, code completion, smart indenting, class browsing, code folding etc. Zeus also has limited Python debugger support and is fully scriptable

Re: Considering taking a hammer to the computer...

2013-01-01 Thread Dave Angel
On 01/01/2013 05:01 PM, Chris Angelico wrote: > On Wed, Jan 2, 2013 at 7:14 AM, wrote: >> floor_number = 0 >> for i in range(number_of_floors): >> floor_number = floor_number + 1 > Matt's already given you the part you need (and it seems to have > worked for you, yay!). Side point: Are you aw

Re: Considering taking a hammer to the computer...

2013-01-01 Thread Dave Angel
On 01/01/2013 03:14 PM, worldsbiggestsabres...@gmail.com wrote: > OK, thank you all for your help yesterday! > > Here's where we are today (using python 3.3.0) > > He has everything running well except for the final calculations - he needs > to be able to total the number of rooms in the hotel, as

Re: Considering taking a hammer to the computer...

2013-01-01 Thread MRAB
On 2012-12-31 23:42, worldsbiggestsabres...@gmail.com wrote: Hey :) I'm trying to help my son with an assignment and spending hours making an inch of progress. I know nothing about programming and I'm trying to learn, on my own, at a rate faster than possible. I would love a little help! My

Re: pygame - importing GL - very bad...

2013-01-01 Thread someone
On 01/01/2013 11:39 PM, alex23 wrote: On Jan 1, 9:00 pm, someone wrote: I can see that pygame hasn't been updated for a long while - not many users use it? It helps if you look in the right place: pygame "Last Updated 2012-12-29": https://bitbucket.org/pygame/pygame/src pygame2: http://code.

Re: numpy has got newtonsmethod?

2013-01-01 Thread Vlastimil Brom
2013/1/2 Usama Khan : > my question is can we import newtonsmethod from nympy or sciPy? > -- > http://mail.python.org/mailman/listinfo/python-list Hi, After successfully installing SciPy http://www.scipy.org/Download you should be able to import the respective modules and use this functionality su

Re: pygame - importing GL - very bad...

2013-01-01 Thread someone
On 01/01/2013 01:56 PM, Peter Otten wrote: > someone wrote: > It turns out pylint is lying. The situation is equivalent to > > $ cat module.py > for format in [42]: > pass > del format > > $ cat main.py > original_format = format > from module import * > assert format is original_format > $

Re: pygame - importing GL - very bad...

2013-01-01 Thread someone
On 01/01/2013 12:13 PM, Chris Angelico wrote: > On Tue, Jan 1, 2013 at 10:00 PM, someone wrote: >> See this code (understand why I commented out first line): >> >> # from OpenGL.GL import * >> from OpenGL.GL import glEnable, GL_DEPTH_TEST, \ >> glShadeModel, GL_SMOOTH, glClearColor, \ >>

Re: pygame - importing GL - very bad...

2013-01-01 Thread someone
On 01/01/2013 12:49 PM, Steven D'Aprano wrote: > On Tue, 01 Jan 2013 12:00:32 +0100, someone wrote: > >> See this code (understand why I commented out first line): >> >> # from OpenGL.GL import * > [...] >> The reason why I commented out the first line is that I use "pylint" and >> it reports: "[W

Re: numpy has got newtonsmethod?

2013-01-01 Thread Chris Angelico
On Wed, Jan 2, 2013 at 10:01 AM, Usama Khan wrote: > my question is can we import newtonsmethod from nympy or sciPy? http://www.catb.org/esr/faqs/smart-questions.html#classic ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: how to solve complex equation?

2013-01-01 Thread Usama Khan
thanks :) no issues. . :) sorry for wasting ur precious time. . .sorry once again. . its mine problem now. . neither python. .nor the algebra. . . sorry guys. dont mind. .:) dont get me wrong. . -- http://mail.python.org/mailman/listinfo/python-list

Re: ignore case only for a part of the regex?

2013-01-01 Thread Vlastimil Brom
2013/1/1 Steven D'Aprano : > On Sun, 30 Dec 2012 10:20:19 -0500, Roy Smith wrote: > >> The way I would typically do something like this is build my regexes in >> all lower case and .lower() the text I was matching against them. I'm >> curious what you're doing where you want to enforce case sensit

numpy has got newtonsmethod?

2013-01-01 Thread Usama Khan
my question is can we import newtonsmethod from nympy or sciPy? -- http://mail.python.org/mailman/listinfo/python-list

Re: how to solve complex equation?

2013-01-01 Thread alex23
On Jan 2, 5:02 am, Usama Khan wrote: > i have created new post as my last post is i guessed ranked as a cheater. .:( Don't do this. Starting new threads on the same subject because you're not happy with the response you're getting elsewhere is a surefire way to end up in a lot of killfiles. > i

Re: how to solve complex equation?

2013-01-01 Thread Gary Herron
On 01/01/2013 11:02 AM, Usama Khan wrote: how to solve complex equation in pyhton? and then use it to make a program. . i have created new post as my last post is i guessed ranked as a cheater. .:( i know very litle about python as well as programing. . which equation am taliking u will be thi

Re: pygame - importing GL - very bad...

2013-01-01 Thread alex23
On Jan 1, 9:00 pm, someone wrote: > I can see that pygame hasn't been updated for > a long while - not many users use it? It helps if you look in the right place: pygame "Last Updated 2012-12-29": https://bitbucket.org/pygame/pygame/src pygame2: http://code.google.com/p/pgreloaded/ -- http://ma

Re: Considering taking a hammer to the computer...

2013-01-01 Thread Chris Angelico
On Wed, Jan 2, 2013 at 7:14 AM, wrote: > floor_number = 0 > for i in range(number_of_floors): > floor_number = floor_number + 1 Matt's already given you the part you need (and it seems to have worked for you, yay!). Side point: Are you aware that i and floor_number are always going to have t

Re: Considering taking a hammer to the computer...

2013-01-01 Thread worldsbiggestsabresfan
That's it!!! Thank you, Matt!! project done! :) Thank you all, very much. Happy New Year! -- http://mail.python.org/mailman/listinfo/python-list

Re: how to solve complex equation?

2013-01-01 Thread Jens Thoms Toerring
Usama Khan wrote: > how to solve complex equation in pyhton? and then use it to make a program. > . i have created new post as my last post is i guessed ranked as a cheater. > .:( > i know very litle about python as well as programing. . > which equation am taliking u will be thinking. . i am g

Re: got stuck in equation

2013-01-01 Thread Tim Roberts
usamazo...@gmail.com wrote: > >i know very litle about programing. still learning from tutorials. u can call >me a beginner. >now i need to solve this equation so that i can put this in python but the >formula of design is very complex > >Formula is : > >log(W18) = (Z)(S)+9.36log(SN+1) >-2.0

Re: Considering taking a hammer to the computer...

2013-01-01 Thread Matt Jones
rooms_on_floor is being set by the manual input for each floor iterated over in your for loop. My guess is your total_rooms value equals the rooms from the last floor you processed. Same goes for the occupied_rooms. You'll want a separate variable to increment after each occupied_rooms or rooms_

Re: Considering taking a hammer to the computer...

2013-01-01 Thread worldsbiggestsabresfan
OK, thank you all for your help yesterday! Here's where we are today (using python 3.3.0) He has everything running well except for the final calculations - he needs to be able to total the number of rooms in the hotel, as well as the number of occupied rooms. We have tried several different t

Re: the class problem

2013-01-01 Thread Tim Roberts
contro opinion wrote: > >here is my haha class >class haha(object): > def theprint(self): >print "i am here" > haha().theprint() >i am here haha(object).theprint() >Traceback (most recent call last): > File "", line 1, in >TypeError: object.__new__() takes no parameters > >why

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Mitya Sirenef
On 01/01/2013 02:02 PM, Roy Smith wrote: In article , > Mitya Sirenef wrote: > >> Clunky is the last word I'd use to describe it (ok maybe for Emacs :-) >> I probably remember about 200 commands, plus or minus, but a lot of them >> fit into a consistent scheme which makes them much easier to r

Re: pickle module doens't work

2013-01-01 Thread Tim Roberts
Omer Korat wrote: > >I am using the nltk.classify.MaxEntClassifier. This object has a set of >labels, and a set of probabilities: P(label | features). It modifies >this probability given data. SO for example, if you tell this object >that the label L appears 60% of the time with the feature F,

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Roy Smith
In article , Mitya Sirenef wrote: > Clunky is the last word I'd use to describe it (ok maybe for Emacs :-) > I probably remember about 200 commands, plus or minus, but a lot of them > fit into a consistent scheme which makes them much easier to remember At some point, it becomes muscle memory,

how to solve complex equation?

2013-01-01 Thread Usama Khan
how to solve complex equation in pyhton? and then use it to make a program. . i have created new post as my last post is i guessed ranked as a cheater. .:( i know very litle about python as well as programing. . which equation am taliking u will be thinking. . i am giving u the link kindly c t

got stuck in equation

2013-01-01 Thread Usama Khan
kindly let me know how to solve complex equation in pyhton. . ?? nd then use that equation in program. . ?? am desperate to learn but i guess the posters are a bit angry with me that i asked the code for solving that equation. .plzz help me out,. . am here to learn. . !!! just dont knwo th

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Mitya Sirenef
On 12/31/2012 10:46 PM, Steven D'Aprano wrote: On Sat, 29 Dec 2012 14:00:23 -0500, Mitya Sirenef wrote: > >> I think the general idea is that with editors like Vim you don't get >> distracted by having to do some kind of an editor task, letting you keep >> your full attention on the code logic.

Re: Handling Special characters in python

2013-01-01 Thread Chris Rebert
On Jan 1, 2013 3:41 AM, wrote: > > I am facing one issue in my module. I am gathering data from sql server database. In the data that I got from db contains special characters like "endash". Python was taking it as "\x96". I require the same character(endash). How can I perform that. Can you pleas

Re: got stuck in equation

2013-01-01 Thread Usama Khan
how shud i intiate this equation myself. .can u give me some links to solve that myself. . am ready already. .its a chalange for me now. . .i just requested for a code as i dont know nothing about iteration of that much complex equation not the entire program. . so kindly show me the way. .i w

Re: got stuck in equation

2013-01-01 Thread Usama Khan
u r right bro. . am serving my time. .realy i dont need a short cut code. . nor its a programing class. . i have chosen tis project on my own so that we can aviod that graph procedure. . i guess the program i am making on python has many many things. .not just the iteration. .i am not that che

Re: got stuck in equation

2013-01-01 Thread Chris Angelico
On Wed, Jan 2, 2013 at 4:25 AM, Usama Khan wrote: > now can u give me the coding of this equation as i need to save my time. . .i > am learning from tutorials. . so its taking lot of time. kindly consider my > request nd give me the code so that i can put it. .i dont want to losen up my > grade

Re: got stuck in equation

2013-01-01 Thread Roy Smith
In article , Usama Khan wrote: > am just a begginer bro. That's fine, we were all beginners once. You will discover that people here are willing to invest a lot of time and effort helping beginners get started. > now can u give me the coding of this equation as i need to save my time. . .i

Re: got stuck in equation

2013-01-01 Thread Chris Angelico
On Wed, Jan 2, 2013 at 3:42 AM, Dave Angel wrote: > On 01/01/2013 11:03 AM, Chris Angelico wrote: >> This isn't a Python question, it's an algebra one. I don't know what >> Z, S, and so on are, but for the most part, the basic rule of solving >> equations applies: Do the same thing to both sides a

Re: got stuck in equation

2013-01-01 Thread Usama Khan
Sn range is given in here. . www.dot.state.fl.us/rddesign/DS/08/IDx/514.pdf -- http://mail.python.org/mailman/listinfo/python-list

Re: got stuck in equation

2013-01-01 Thread Usama Khan
am just a begginer bro. . jus learnt if elif while nd for loop. . can u just display me the coding u want. .it could save my time that i have while searchning SN out. . i will give u that dependable variables values. . nd SN range 4 inches to 13.5 inches log(w18)=50x10^6 Z=-1.645 S=0.45 dpsi=2

Re: got stuck in equation

2013-01-01 Thread Dave Angel
On 01/01/2013 11:03 AM, Chris Angelico wrote: > On Wed, Jan 2, 2013 at 2:40 AM, wrote: >> hi . . my name is usama khan >> i am the student of civil engeering and we got assignment to make a project >> program on flexible pavement design using python. >> >> i know very litle about programing. st

Re: got stuck in equation

2013-01-01 Thread Dave Angel
On 01/01/2013 10:40 AM, usamazo...@gmail.com wrote: > hi . . my name is usama khan > i am the student of civil engeering and we got assignment to make a project > program on flexible pavement design using python. > > i know very litle about programing. still learning from tutorials. u can call

Re: got stuck in equation

2013-01-01 Thread Chris Angelico
On Wed, Jan 2, 2013 at 2:40 AM, wrote: > hi . . my name is usama khan > i am the student of civil engeering and we got assignment to make a project > program on flexible pavement design using python. > > i know very litle about programing. still learning from tutorials. u can call > me a begin

got stuck in equation

2013-01-01 Thread usamazohad
hi . . my name is usama khan i am the student of civil engeering and we got assignment to make a project program on flexible pavement design using python. i know very litle about programing. still learning from tutorials. u can call me a beginner. now i need to solve this equation so that i c

Re: pickle module doens't work

2013-01-01 Thread Omer Korat
I am using the nltk.classify.MaxEntClassifier. This object has a set of labels, and a set of probabilities: P(label | features). It modifies this probability given data. SO for example, if you tell this object that the label L appears 60% of the time with the feature F, then P(L | F) = 0.6. The

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Tim Chase
On 01/01/13 04:12, Cameron Simpson wrote: I must admit I find Apple's "help" search box neat this way - you can type a keyword is it will actually find the menu item for you. Not that I use this for vi, of course... If you've not used it, Vim's ":helpgrep" command provides full Vim regexp powe

Re: pygame - importing GL - very bad...

2013-01-01 Thread Peter Otten
someone wrote: > See this code (understand why I commented out first line): > > # from OpenGL.GL import * > from OpenGL.GL import glEnable, GL_DEPTH_TEST, \ > glShadeModel, GL_SMOOTH, glClearColor, \ > GL_CULL_FACE, GL_BLEND, glBlendFunc, \ > GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA

Re: Handling Special characters in python

2013-01-01 Thread Steven D'Aprano
On Tue, 01 Jan 2013 03:35:56 -0800, anilkumar.dannina wrote: > I am facing one issue in my module. I am gathering data from sql server > database. In the data that I got from db contains special characters > like "endash". Python was taking it as "\x96". I require the same > character(endash). How

Re: pygame - importing GL - very bad...

2013-01-01 Thread Steven D'Aprano
On Tue, 01 Jan 2013 12:00:32 +0100, someone wrote: > See this code (understand why I commented out first line): > > # from OpenGL.GL import * [...] > The reason why I commented out the first line is that I use "pylint" and > it reports: "[W] Redefining built-in 'format'" for this line. > > From:

Handling Special characters in python

2013-01-01 Thread anilkumar . dannina
I am facing one issue in my module. I am gathering data from sql server database. In the data that I got from db contains special characters like "endash". Python was taking it as "\x96". I require the same character(endash). How can I perform that. Can you please help me in resolving this issue

Re: pygame - importing GL - very bad...

2013-01-01 Thread Chris Angelico
On Tue, Jan 1, 2013 at 10:00 PM, someone wrote: > See this code (understand why I commented out first line): > > # from OpenGL.GL import * > from OpenGL.GL import glEnable, GL_DEPTH_TEST, \ > glShadeModel, GL_SMOOTH, glClearColor, \ > GL_CULL_FACE, GL_BLEND, glBlendFunc, \ > GL_SRC_

pygame - importing GL - very bad...

2013-01-01 Thread someone
See this code (understand why I commented out first line): # from OpenGL.GL import * from OpenGL.GL import glEnable, GL_DEPTH_TEST, \ glShadeModel, GL_SMOOTH, glClearColor, \ GL_CULL_FACE, GL_BLEND, glBlendFunc, \ GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, \ glClear, GL_COLOR_BUFFE

Re: New to python, do I need an IDE or is vim still good enough?

2013-01-01 Thread Cameron Simpson
On 01Jan2013 03:46, Steven D'Aprano wrote: | On Sat, 29 Dec 2012 14:00:23 -0500, Mitya Sirenef wrote: | > [...] For instance, if I need to change | > a block inside parens, I type ci) (stands for change inside parens), | > while with a regular editor I'd have to do it manually and by the time | >

Re: dict comprehension question.

2013-01-01 Thread 88888 Dihedral
On Tuesday, January 1, 2013 11:10:48 AM UTC+8, Steven D'Aprano wrote: > On Sat, 29 Dec 2012 18:56:57 -0500, Terry Reedy wrote: > > > > > On 12/29/2012 2:48 PM, Quint Rankid wrote: > > > > > >> Given a list like: > > >> w = [1, 2, 3, 1, 2, 4, 4, 5, 6, 1] > > >> I would like to be able to do

Re: father class name

2013-01-01 Thread 88888 Dihedral
On Monday, December 31, 2012 12:18:48 PM UTC+8, contro opinion wrote: > here is my haha  class > class  haha(object): >   def  theprint(self): >     print "i am here" > The definition of a class named haha. > >>> haha().theprint() > i am here > >>> haha(object).theprint() > Traceback (most recen