I am out of trial and error again Lists

Rustom Mody rustompmody at gmail.com
Thu Oct 23 09:42:43 EDT 2014


On Thursday, October 23, 2014 1:39:32 PM UTC+5:30, Mark Lawrence wrote:
> On 23/10/2014 08:56, Ian Kelly wrote:
> > On Thu, Oct 23, 2014 at 1:20 AM, Mark Lawrence  wrote:
> >> If you were to read and digest what is written it would help.  You're trying
> >> to run IDLE.  We're talking the interactive interpreter.
> >
> > IDLE includes the interactive interpreter.
> >
> >>   If (at least on
> >> Windows) you run a command prompt and then type python<cr> you should see
> >> something like this.
> >>
> >> Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:16:31) [MSC v.1600 64 bit
> >> (AMD64)] on win32
> >> Type "help", "copyright", "credits" or "license" for more information.
> >
> > Same thing comes up when I start IDLE, so what's your point?
> >
> 
> When you run the interactive interpreter thats all you get.  The OP 
> isn't the first person to try things with IDLE not realising you need to 
> have a script loaded to do something.

If I do (at the shell prompt with an example)
$ python3
Python 3.4.2 (default, Oct  8 2014, 10:45:20) 
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 2+3
5

And if I do
$ idle3
I get a new window containing

Python 3.4.2 (default, Oct  8 2014, 10:45:20) 
[GCC 4.9.1] on linux
Type "copyright", "credits" or "license()" for more information.
>>> 2+3
5

so...
Still not clear whats your point.
idle and python interpreter seem to be mostly the same

[As best as I can make out the OP is not using the standalone
interpreter
nor idle
nor (the many options like) python-interpreter-inside-emacs
nor ipython
nor ...
]



More information about the Python-list mailing list