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
>> # 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
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
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
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
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:
>
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,
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
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
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:
>
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..
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
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
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
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
___
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 <
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
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
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
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
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
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
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
>
> 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
_
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
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
26 matches
Mail list logo