braces fixed '#{' and '#}'

2009-01-18 Thread v4vijayakumar
I saw some code where someone is really managed to import braces from __future__. ;) def test(): #{ print "hello" #} -- http://mail.python.org/mailman/listinfo/python-list

small issue with Idle

2008-08-08 Thread v4vijayakumar
When you press 'home' button cursor goes before >>> prompt. This is little uncomfortable. I am using Idle 1.2.2. (python 2.5.2.) -- http://mail.python.org/mailman/listinfo/python-list

Re: More Datastore Examples Please

2008-08-07 Thread v4vijayakumar
On Aug 7, 11:38 am, Tim Roberts <[EMAIL PROTECTED]> wrote: > v4vijayakumar <[EMAIL PROTECTED]> wrote: > > >Google appengine datastore is not very clear, and I couldn't get much > >from API documents. It would be very helpful if there are some more > >deta

More Datastore Examples Please

2008-08-05 Thread v4vijayakumar
Google appengine datastore is not very clear, and I couldn't get much from API documents. It would be very helpful if there are some more detailed documents with examples. Django provides very good documentation, but I don't know how much it is compatible with google appengine. Google appengine ex

Re: python newbie: some surprises

2008-05-09 Thread v4vijayakumar
On May 9, 1:48 pm, Bruno Desthuilliers wrote: > v4vijayakumar a écrit : > > > When I started coding in python, these two things surprised me. > > > 1. my code is inconsistently indented with the combination of tabs and > > spaces. Even lines looked intended, but it

python newbie: some surprises

2008-05-08 Thread v4vijayakumar
When I started coding in python, these two things surprised me. 1. my code is inconsistently indented with the combination of tabs and spaces. Even lines looked intended, but it is not. 2. python requires to pass "self" to all instance methods and I missed ":" often. :) -- http://mail.python.org

Re: Game design : Making computer play

2008-04-14 Thread v4vijayakumar
On Apr 14, 1:00 pm, v4vijayakumar <[EMAIL PROTECTED]> wrote: ... > I can post initial version of the game (implemented using html/ > javascript) in couple of hours here. The game is here, http://v4vijayakumar.googlepages.com/goats-and-tigers.html -- http://mail.python.org/mail

Re: Game design : Making computer play

2008-04-14 Thread v4vijayakumar
On Apr 14, 12:35 pm, Richard Heathfield <[EMAIL PROTECTED]> wrote: > v4vijayakumar said: > > In computer based, two player, board games, how to make computer play? > > Write some code that works out what the computer player should do. If you > want a better answer, ask

Game design : Making computer play

2008-04-14 Thread v4vijayakumar
In computer based, two player, board games, how to make computer play? Are there any formal ways to _teach_ computer, to choose best possible move? I know this is kind of off-topic here. Please redirect me, if there are more appropriate newsgroup. Many thanks. -- http://mail.python.org/mailman/l