Re: [Tutor] vars()

2009-04-20 Thread Padmanaban Ganesan
Hello Denis, Please find more details , Use cases about the Built-in in the following book under the *Chapter 9* - Oops, Creating modules. *Book Name :* Python Programming for the Absolute Beginner *Author:* Michael Dawson Ta, Paddy 2009/4/20 spir > Hello, > > Just discovered vars(). Looking

Re: [Tutor] My Program stopped working, can anyone help

2009-04-01 Thread Padmanaban Ganesan
Hi Jared, This is program is working fine for me. Please check the indentation is proper in it. def main(): print "This program will encode your messages using a Caesar Cipher" print key = input("Enter the key: ") message = raw_input("Enter the message: ") codedMessage = "" for ch in message:

Re: [Tutor] (no subject)

2009-03-24 Thread Padmanaban Ganesan
Ok i got it. thanks all 2009/3/24 Padmanaban Ganesan > Really a splendid code snippet. > > Could any one explain me whats this in it abs(i)??? > > 2009/3/24 Alan Gauld > >> "Daniele" wrote >> >>> for i in range(-10,11): >>

Re: [Tutor] (no subject)

2009-03-24 Thread Padmanaban Ganesan
Really a splendid code snippet. Could any one explain me whats this in it abs(i)??? 2009/3/24 Alan Gauld > "Daniele" wrote > >> for i in range(-10,11): >> print '*'*(11-abs(i)) >> > > Apologies, this is actually more powerful than my solution which only > addressed the immediate con

Re: [Tutor] (no subject)

2009-03-24 Thread Padmanaban Ganesan
Hi Alan, I am sorry , some how how i missed it . code you pls explain this. for i in range(-10,11): print '*'*(11-abs(i)) thanks indeed 2009/3/24 Alan Gauld > "Daniele" wrote > >> for i in range(-10,11): >> print '*'*(11-abs(i)) >> > > Apologies, this is actually more powerful than my so

Re: [Tutor] text editor and debugger for python

2009-03-24 Thread Padmanaban Ganesan
Hi Bala, ( I realise that, since i am a UNIX/AIX/LINUX/PERL/PYTHON Developer ) Please use EditPus 3.0 or the ULTRA EDIT. EDIT PLUS is the Shareware. please download it from http://www.editplus.com/ ( freeware for the oldversion ) Ta, Paddy 2009/3/24 Bala subramanian > Friends, > > I do the scr

Re: [Tutor] (no subject)

2009-03-23 Thread Padmanaban Ganesan
Hello David, Please try this . I hope this answered your question now. SAM PRG: def main(): i=1 while i <=10: j=1 while j<=i: print 'Paddy' , j=j+1 print i=i+1 def rev(): i=10 while i >=1: print