On Tue, 01 Feb 2005 12:11:47 +, Kartic wrote:
> Sridhar said the following on 2/1/2005 2:11 AM:
>> Hi,
>>
>> I am doing my undergrade CS course. I am in the final year, and would
>> like to do my project involving Python. Our instructors require the
>> project to have novel ideas. Can the
On Mon, 27 Dec 2004 08:15:51 -0800, Rÿe9veillÿe9 wrote:
> The problem is that it doesnt print the
>
> [ choice = input ('Pick a number:') ]
>
> command. It just runs thru the whole thing without
> allowing the user a selection.
Are you running it from the command line ? Some editors do
On Mon, 13 Dec 2004 19:33:25 -0800, projecktzero wrote:
> A co-worker considers himself "old school" in that he hasn't seen the
> light of OOP.(It might be because he's in love with Perl...but that's
> another story.) He thinks that OOP has more overhead and is slower than
> programs written the p
John Roth wrote:
> It's not an error. As one of the first responders said, check
> the language definition. That defines both 'in' and 'is'
> as equality operators, and defines exactly what a chain
> of equality operators means.
>
> In this case, it means:
>
> (0 in l) and (l is False)
>
> The
Sylvain Thenault wrote:
l = []
0 in (l is False)
(l is False) is not a tuple or list, it's a boolean value.
> Traceback (most recent call last):
> File "", line 1, in ?
> TypeError: iterable argument required
(0 in l) is False
> True
0 in l is False becuase l is empty, so it's Fa
On Mon, 29 Nov 2004 08:10:18 +, Jean Brouwers wrote:
> If you are running GTK+ try using
>
> self.Editor.SetSTCFocus(True)
>
> in addition to or instead of SetFocus(). Plus maybe
>
> wx.CallAfter(self.Editor.EnsureCaretVisible)
>
> It solved the 'dissapearing caret' proble
On Sun, 28 Nov 2004 23:43:32 -0800, Josiah Carlson wrote:
> I don't know why the problem you are having happens, but I would just
> make a call to self.Editor.SetFocus() on an EVT_ACTIVATE event.
Tried that, it doesn't work :(
Or to be precise, it works every other time :)
--
http://mail.pytho
On Mon, 29 Nov 2004 01:12:16 -0500, Jeremy Bowers wrote:
> The only punctuation you *need* is whitespace. See Forth (I don't know
> if this is perfect but I'd bet the transform is simple),
: Announce ." Forth has a fair bit of punctuation" ;
--
http://mail.python.org/mailman/listinfo/python-list