Re: why the different output in Eclipse and Python Shell?

2012-08-01 Thread Dave Angel
On 08/01/2012 11:26 AM, Prasad, Ramit wrote: >>> my code in Eclipse: >>> >>> dict.fromkeys(['China','America']) >>> print "dict is",dict >>> >>> output: dict is >>> >>> my code in Python Shell: >>> >>> dict.fromkeys(['China','America']) >>> >>> output:{'America': None, 'China': None} >>> >>> Outpu

RE: why the different output in Eclipse and Python Shell?

2012-08-01 Thread Prasad, Ramit
> > my code in Eclipse: > > > > dict.fromkeys(['China','America']) > > print "dict is",dict > > > > output: dict is > > > > my code in Python Shell: > > > > dict.fromkeys(['China','America']) > > > > output:{'America': None, 'China': None} > > > > Output in Python Shell is what i wanna,but why not

Re: why the different output in Eclipse and Python Shell?

2012-08-01 Thread Dave Angel
On 08/01/2012 12:45 AM, levi nie wrote: > my code in Eclipse: > > dict.fromkeys(['China','America']) > print "dict is",dict > > output: dict is > > my code in Python Shell: > > dict.fromkeys(['China','America']) > > output:{'America': None, 'China': None} > > Output in Python Shell is what i wanna

Re: why the different output in Eclipse and Python Shell?

2012-07-31 Thread Terry Reedy
On 8/1/2012 12:45 AM, levi nie wrote: my code in Eclipse: dict.fromkeys(['China','America']) In Eclipse, I presume this prints nothing, as is normal for an editor. print "dict is",dict output: dict is This is red herring. The shell does the same with that line. It is not relevant to you

why the different output in Eclipse and Python Shell?

2012-07-31 Thread levi nie
my code in Eclipse: dict.fromkeys(['China','America']) print "dict is",dict output: dict is my code in Python Shell: dict.fromkeys(['China','America']) output:{'America': None, 'China': None} Output in Python Shell is what i wanna,but why not in Eclipse? -- http://mail.python.org/mailman/li

Re: Eclipse and Python

2007-08-03 Thread Danyelle Gragsone
Thanks to all! Danyelle On 8/3/07, Lukasz <[EMAIL PROTECTED]> wrote: > Użytkownik Danyelle Gragsone napisał: > > Does anyone have any suggested websites for learning Eclipse the python way? > > > > thanks, > > Danyelle > > http://www.showmedo.com/videos/series?name=PyDevEclipseList > > > -- > Opol

Re: Eclipse and Python

2007-08-03 Thread Lukasz
Użytkownik Danyelle Gragsone napisał: > Does anyone have any suggested websites for learning Eclipse the python way? > > thanks, > Danyelle http://www.showmedo.com/videos/series?name=PyDevEclipseList -- Opole - Miasto Bez Granic. http://www.opole.pl - tu znajdziesz nowe miejsca, nowe mozliwosci

Re: Eclipse and Python

2007-08-03 Thread kyosohma
On Aug 3, 11:22 am, "Danyelle Gragsone" <[EMAIL PROTECTED]> wrote: > Does anyone have any suggested websites for learning Eclipse the python way? > > thanks, > Danyelle This article is a little old, but it might be helpful to you: http://www.ibm.com/developerworks/library/os-ecant/ I found this

Eclipse and Python

2007-08-03 Thread Danyelle Gragsone
Does anyone have any suggested websites for learning Eclipse the python way? thanks, Danyelle -- http://mail.python.org/mailman/listinfo/python-list