Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~15.0K People Reached

6 Posted Topics

Member Avatar for vegaseat

"Risk -- If one has to jump a stream and knows how wide it is, he will not jump. If he doesn't know how wide it is, he'll jump and six times out of ten he'll make it." -- Persian proverb

Member Avatar for Reverend Jim
15
14K
Member Avatar for royng

"Goodfellas". If you like gangster-movies, this is definately one of the best, if not [B]the[/B] best. "The Prestige" too.

Member Avatar for Netcode
0
407
Member Avatar for Niles64

Hi Please take a look at [CODE=python] class ShortInputException(Exception): #QUESTION: Why do I have to inherit from the "Exception" class? def __init__(self, length, atleast): Exception.__init__(self) #QUESTION: Why do I have to add this? self.length = length self.atleast = atleast try: s = raw_input('Enter something --> ') if len(s) < 3: …

Member Avatar for Niles64
0
130
Member Avatar for Niles64

Hi OK, so I am reading on OOP in Python, and I am an old C/C++ programmer so I have somewhat high expectations :). My question is regarding private/public variables. Per default, all class data members are public, but if we precede them with a double underscore, they become private. …

Member Avatar for TrustyTony
0
216
Member Avatar for pseudorandom21
Member Avatar for Niles64

Hi Everything in Python is treated as an object, so [CODE] i=5 i.imag [/CODE] makes sense, i.e. the variable [I]i[/I] has some associated methods. But why doesn't the following example work? [CODE] 5.imag #error [/CODE] One would think that it should work, since the integer "5" is an object just …

Member Avatar for Niles64
1
120

The End.