Re: [Tutor] Unable to open .py files directly

2012-03-21 Thread Alan Gauld
On 21/03/12 13:00, Surya K wrote: "open" is ambiguous. What do you want to happen? Edit or execute? I was "double clicking".. and I want to open IDLE. That's not usually the behavior you want for .py files. Once you gain experience you will likely have a lot of programs written in python, all

Re: [Tutor] Unable to open .py files directly

2012-03-21 Thread bob gailer
On 3/21/2012 10:42 AM, Surya K wrote: > In that case, you need to change the file association of .py files to IDLE Bodsda Yeah, I tried that. The worst part is we don't have any exe file specifically for IDLE. I mean windows has to choose whether to edit or compile. In my case, the file

Re: [Tutor] Unable to open .py files directly

2012-03-21 Thread bob gailer
On 3/21/2012 9:00 AM, Surya K wrote: I was "double clicking".. and I want to open IDLE. Great. Better explanation. To make it even better I will now assume you want the file to be opened by IDLE in a script (edit) window. So an even better explanation is "when I double-click the file I want

Re: [Tutor] Unable to open .py files directly

2012-03-21 Thread Surya K
Date: Wed, 21 Mar 2012 13:29:17 + Subject: Re: [Tutor] Unable to open .py files directly From: bod...@googlemail.com To: sur...@live.com CC: tutor@python.org; bgai...@gmail.com On Mar 21, 2012 1:03 PM, "Surya K" wrote: > > > > ___

Re: [Tutor] Unable to open .py files directly

2012-03-21 Thread Bod Soutar
On Mar 21, 2012 1:03 PM, "Surya K" wrote: > > > > > Date: Mon, 19 Mar 2012 19:11:18 -0400 > From: bgai...@gmail.com > To: sur...@live.com > CC: tutor@python.org > Subject: Re: [Tutor] Unable to open .py files directly >

Re: [Tutor] Unable to open .py files directly

2012-03-21 Thread Surya K
Date: Mon, 19 Mar 2012 19:11:18 -0400 From: bgai...@gmail.com To: sur...@live.com CC: tutor@python.org Subject: Re: [Tutor] Unable to open .py files directly On 3/19/2012 10:30 AM, Surya K wrote: Hi there, I am facing a

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread bob gailer
On 3/19/2012 10:30 AM, Surya K wrote: Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). In addition to the other advice - "open" is ambiguous. What do you want to happen? Edit or execute? clicking a file usually just selects it. Do you mean double-c

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread Alan Gauld
On 19/03/12 17:56, Alan Gauld wrote: Python 3.x raw_input("Hit any key to quit...") oops. Should be: input("Hit any key to quit...") -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread Alan Gauld
On 19/03/12 14:30, Surya K wrote: Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). When ever I those files, there's a black window opening and closing immediately (I think, its output of python at python command line, NOT SURE). I have to open those fi

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread Emile van Sebille
On 3/19/2012 7:30 AM Surya K said... Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). When ever I those files, there's a black window opening and closing immediately (I think, its output of python at python command line, NOT SURE). I have to open those

[Tutor] Unable to open .py files directly

2012-03-19 Thread Surya K
Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). When ever I those files, there's a black window opening and closing immediately (I think, its output of python at python command line, NOT SURE). I have to open those files from IDE's or any test editors