On Thu, 28 Oct 2010 14:30:16 +0100, Zeynel wrote:
On Oct 28, 2:32 am, robert wrote:
the reason may be that your text doesn't contain a question (mark).
...
perhaps drill down to a question on python-level.
Thanks, I realize that what I was trying to ask is not too clear. I am
learning to
Zeynel wrote:
> Thank you this is great; but I don't know how to modify this code so
> that when the user types the string 's' on the form in the app he sees
> what he is typing. So, this will be in GAE.
I've no idea what GAE is. In general the more precise your question is the
better the answe
On Oct 28, 9:35 am, Iain King wrote:
> It's equivalent to:
>
> if columns:
> if columns[-1][0] == s:
> dostuff()
>
> i.e. check columns is not empty and then check if the last item
> startswith 's'.
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 28, 2:35 pm, Iain King wrote:
...
> (a) I don't know if the order of resolution is predicated left-to-
> right in the language spec of if it's an implementation detail
> (b) columns[-1].startswith('s') would be better
>
...
Ignore (b), I didn't read the original message properly.
Iain
-
On Oct 28, 2:19 pm, Zeynel wrote:
> On Oct 28, 4:49 am, Peter Otten <__pete...@web.de> wrote:
>
> Thank you this is great; but I don't know how to modify this code so
> that when the user types the string 's' on the form in the app he sees
> what he is typing. So, this will be in GAE. But I have a
On Oct 28, 2:32 am, robert wrote:
> the reason may be that your text doesn't contain a question (mark).
...
> perhaps drill down to a question on python-level.
Thanks, I realize that what I was trying to ask is not too clear. I am
learning to GAE using Python and I want to deploy a simple app. Th
On Oct 28, 4:49 am, Peter Otten <__pete...@web.de> wrote:
Thank you this is great; but I don't know how to modify this code so
that when the user types the string 's' on the form in the app he sees
what he is typing. So, this will be in GAE. But I have a couple of
other questions, for learning pur
Zeynel wrote:
> I am trying to make this simple app for GAE.
>
> I get a string s that user enters in a form.
>
> I append that to an empty list L = [] then I test if the last saved
> string is the same as the new string. If same, I write it on the same
> column; if not the cursor moves to next
Zeynel wrote:
I am trying to make this simple app for GAE.
I get a string s that user enters in a form.
I append that to an empty list L = [] then I test if the last saved
string is the same as the new string. If same, I write it on the same
column; if not the cursor moves to next column (I was
I am trying to make this simple app for GAE.
I get a string s that user enters in a form.
I append that to an empty list L = [] then I test if the last saved
string is the same as the new string. If same, I write it on the same
column; if not the cursor moves to next column (I was trying to do
th
10 matches
Mail list logo