Re: [BangPypers] Beginner Help

2013-04-05 Thread ram sagar
Hi, words = ['cat', 'window', 'defenestrate'] here words is a list and each element in that list can be accessed via index. words[0] will give cat words[1] will give window for more information on list : http://docs.python.org/2/tutorial/introduction.html#lists also in python for loop is qui

Re: [BangPypers] Beginner Help

2013-04-02 Thread Hrishikesh Kulkarni
>> # The Problem is: >> When "w" is not defined how python interpreter can evaluate the output?? When you say "defined" you are comparing it to a programming language you have already know. I am guessing C or C++. C/C++ supports the concept of variable declaration and definition. Variable name is

Re: [BangPypers] Beginner Help

2013-04-02 Thread anirudh bhat
Hi, Python is dynamically typed language.You dont initialize variables with data types as you do it in c. On Tue, Apr 2, 2013 at 2:46 PM, L Radhakrishna Rao wrote: > for w in words: > print w, len(w) > > this is where w is getting initialized. > > Even if you will use 'i' there, output will

Re: [BangPypers] Beginner Help

2013-04-02 Thread L Radhakrishna Rao
for w in words: print w, len(w) this is where w is getting initialized. Even if you will use 'i' there, output will be same. On Tue, Apr 2, 2013 at 2:43 PM, Manish Reddy wrote: > w is like a variable for python. You can use any variable instead of w and > get the same output. > > Your cod

Re: [BangPypers] Beginner Help

2013-04-02 Thread L Radhakrishna Rao
for w in words: On Tue, Apr 2, 2013 at 2:43 PM, Manish Reddy wrote: > w is like a variable for python. You can use any variable instead of w and > get the same output. > > Your code is telling python to execute something for each item in the list. > So, w takes 'cat', 'window', 'defenestrate' e

Re: [BangPypers] Beginner Help

2013-04-02 Thread Venkatraman S
Before someone pops in and says, let me say it 'List Comprehensions'.ah! now i can RIP :) On Tue, Apr 2, 2013 at 2:38 PM, Gaurav Malhotra wrote: > Hi everyone, > > Below is the code (with output) which can be found in the Python Official > Documentation: > > >>> # Measure some strings: >

Re: [BangPypers] Beginner Help

2013-04-02 Thread Manish Reddy
w is like a variable for python. You can use any variable instead of w and get the same output. Your code is telling python to execute something for each item in the list. So, w takes 'cat', 'window', 'defenestrate' each time and executes the code for each of them. Hope I helped. On Tue, Apr 2,

Re: [BangPypers] Beginner help

2010-10-05 Thread Santosh Rajan
Just my 0.02$. I find Komodo Edit a great editor and it is free. Though the Komodo IDE is not. I used to use Notepad++ before that. On Wed, Oct 6, 2010 at 9:47 AM, Ramdas S wrote: > On Wed, Oct 6, 2010 at 9:36 AM, Radhakrishna Bhat > wrote: > > > Aptana may not be free. But the PyDev plugin for

Re: [BangPypers] Beginner help

2010-10-05 Thread Ramdas S
On Wed, Oct 6, 2010 at 9:36 AM, Radhakrishna Bhat wrote: > Aptana may not be free. But the PyDev plugin for Eclipse is free. > Aptana is released under GPL also, and under a dual licensing model. Please check this link http://aptana.com/legal ___ BangP

Re: [BangPypers] Beginner help

2010-10-05 Thread Radhakrishna Bhat
Aptana may not be free. But the PyDev plugin for Eclipse is free. On Tue, Oct 5, 2010 at 12:45 PM, BR!j!TH wrote: > Hi all, > > is this Aptana a free software.. do we have need to purchase it for using > it > ? > > * > Regrads, > > Brijith P > ** > * > On 5 October 2010 12:33, Ramdas S wrote: >

Re: [BangPypers] Beginner help

2010-10-05 Thread kausikram krishnasayee
On Sat, Oct 2, 2010 at 9:04 PM, Vishal wrote: > if you are on Windows, try out PyScripter. I am sure you'll like it. > +1 -- Kausikram Krishnasayee Company: http://silverstripesoftware.com | Webpage: kausikram.in | Blog: blog.kausikram.in | Twitter: http://twitter.com/kausikram | Email: kausik..

Re: [BangPypers] Beginner help

2010-10-05 Thread BR!j!TH
Hi all, is this Aptana a free software.. do we have need to purchase it for using it ? * Regrads, Brijith P ** * On 5 October 2010 12:33, Ramdas S wrote: > On Tue, Oct 5, 2010 at 12:28 PM, JAGANADH G wrote: > > On Tue, Oct 5, 2010 at 12:24 PM, Anil C R wrote: > > > >> I would say no IDE... I

Re: [BangPypers] Beginner help

2010-10-05 Thread Ramdas S
On Tue, Oct 5, 2010 at 12:28 PM, JAGANADH G wrote: > On Tue, Oct 5, 2010 at 12:24 PM, Anil C R wrote: > >> I would say no IDE... IMO it's not very good starting to learn a language >> with an IDE. Been long since I wrote code in Windows but you should have >> nice ones Notepad++ was nice. >> >> W

Re: [BangPypers] Beginner help

2010-10-04 Thread JAGANADH G
On Tue, Oct 5, 2010 at 12:24 PM, Anil C R wrote: > I would say no IDE... IMO it's not very good starting to learn a language > with an IDE. Been long since I wrote code in Windows but you should have > nice ones Notepad++ was nice. > > Which IDE is good for Python is a difficult question I observ

Re: [BangPypers] Beginner help

2010-10-04 Thread Anil C R
I would say no IDE... IMO it's not very good starting to learn a language with an IDE. Been long since I wrote code in Windows but you should have nice ones Notepad++ was nice. Anil, PS: do not send me mails if you do this: http://theoatmeal.com/comics/email ___

Re: [BangPypers] Beginner help

2010-10-03 Thread Sathishkumar Duraisamy
Hi, for pyqt, eric is good. On 10/3/10, Umar Shah wrote: > vim with omnicomplete and taglist plugins, > It will provide with code browsing as well as autocomplete features. > > > On Sun, Oct 3, 2010 at 1:06 PM, Jeffrey Jose > wrote: > >> On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani <

Re: [BangPypers] Beginner help

2010-10-03 Thread Umar Shah
vim with omnicomplete and taglist plugins, It will provide with code browsing as well as autocomplete features. On Sun, Oct 3, 2010 at 1:06 PM, Jeffrey Jose wrote: > On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani < > gopalakrishnan.subram...@gmail.com> wrote: > > > If you want to be t

Re: [BangPypers] Beginner help

2010-10-03 Thread Noufal Ibrahim
On Sun, Oct 03 2010, Jeffrey Jose wrote: > On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani < > gopalakrishnan.subram...@gmail.com> wrote: > >> If you want to be too smart, Emacs is the best one for all your typing >> need. >> It works well on Windows/Macs/Linux/Unix operating system. >> p

Re: [BangPypers] Beginner help

2010-10-03 Thread Jeffrey Jose
On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani < gopalakrishnan.subram...@gmail.com> wrote: > If you want to be too smart, Emacs is the best one for all your typing > need. > It works well on Windows/Macs/Linux/Unix operating system. > pymacs enable you to detect the basic python related

Re: [BangPypers] Beginner help

2010-10-02 Thread Kumar Gaurav
On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani wrote: > If you want to be too smart, Emacs is the best one for all your typing need. > It works well on Windows/Macs/Linux/Unix operating system. > pymacs enable you to detect the basic python related error in emacs. > +1 -- Kumar Gaurav

Re: [BangPypers] Beginner help

2010-10-02 Thread Gopalakrishnan Subramani
If you want to be too smart, Emacs is the best one for all your typing need. It works well on Windows/Macs/Linux/Unix operating system. pymacs enable you to detect the basic python related error in emacs. On Sat, Oct 2, 2010 at 9:34 AM, Vishal wrote: > if you are on Windows, try out PyScripter

Re: [BangPypers] Beginner help

2010-10-02 Thread Vishal
if you are on Windows, try out PyScripter. I am sure you'll like it. Thanks and best regards, Vishal Sapre On Sat, Oct 2, 2010 at 4:51 PM, Noufal Ibrahim wrote: > On Sat, Oct 02 2010, Dennis Varkey wrote: > > > I heard about python and found that it was very simple to code. > > I would like to

Re: [BangPypers] Beginner help

2010-10-02 Thread Noufal Ibrahim
On Sat, Oct 02 2010, Dennis Varkey wrote: > I heard about python and found that it was very simple to code. > I would like to know any IDE's in which i can code python in windows [...] There should be something you're already comfortable with that has a plugin for Python. You should use that. Sw

Re: [BangPypers] Beginner help

2010-10-02 Thread Zubin Mithra
> > I heard about python and found that it was very simple to code. > I would like to know any IDE's in which i can code python in windows There are loads of options available. I'd recommend notepad++(great text editor with lots of plugins) and Eclipse(IDE). zm _

Re: [BangPypers] Beginner help

2010-10-02 Thread Senthil Kumaran
On Sat, Oct 2, 2010 at 2:57 PM, Dennis Varkey wrote: > I heard about python and found that it was very simple to code. > I would like to know any IDE's in which i can code python in windows Download ActiveState Python and use the IDE which comes along with it. It is called PythonWin IDE. Also, h

Re: [BangPypers] Beginner help

2010-10-02 Thread delegbede
Textpad or notepad++ should do. One comes with python itself. Sent from my BlackBerry wireless device from MTN -Original Message- From: Dennis Varkey Sender: bangpypers-bounces+delegbede=dudupay@python.org Date: Sat, 2 Oct 2010 14:57:54 To: Reply-To: Bangalore Python Users Group - I