Re: [Tutor] IDLE

2018-09-11 Thread Alan Gauld via Tutor
On 11/09/18 19:57, Roger Lea Scherer wrote: > Can you direct me to where or how to update from Python 3.6.5 Shell, I > think it is also called IDLE 3.6.5, to Python 3.7 Shell? The Python shell and IDLE are really two different things. The shell is normally considered to mean the interactive inte

Re: [Tutor] IDLE

2018-09-11 Thread Mats Wichmann
On 09/11/2018 12:57 PM, Roger Lea Scherer wrote: > Can you direct me to where or how to update from Python 3.6.5 Shell, I > think it is also called IDLE 3.6.5, to Python 3.7 Shell? I looked at the > documentation which seems like there is another one, slightly improved. > I've downloaded Python 3.7

Re: [Tutor] IDLE

2017-12-30 Thread Random832
On Sat, Dec 30, 2017, at 04:07, Alan Gauld via Tutor wrote: > On 29/12/17 22:21, nelson jon kane wrote: > > > ..., he had his own personal name "put in" to his Python, > > I have no idea what you mean by that. > Python is an interpreter that executes your code. > It doesn't have a "User Name" in

Re: [Tutor] IDLE

2017-12-30 Thread Leam Hall
On 12/30/2017 04:07 AM, Alan Gauld via Tutor wrote: Videos are good for getting a feel for things and understanding concepts but IMHO they are not good for details. This is how I learn coding languages. Watch a video series for a little bit and then find a written tutorial to work through. G

Re: [Tutor] IDLE

2017-12-30 Thread Alan Gauld via Tutor
On 29/12/17 22:21, nelson jon kane wrote: > ..., he had his own personal name "put in" to his Python, I have no idea what you mean by that. Python is an interpreter that executes your code. It doesn't have a "User Name" in it. In interactive mode it displays a prompt which is usually >>> although

Re: [Tutor] IDLE

2017-12-30 Thread nelson jon kane
a free series of YouTube videos on Python in which the speaker does NOT leave out steps in the video? Thanks! From: Tutor on behalf of Mats Wichmann Sent: Friday, December 29, 2017 3:53 PM To: tutor@python.org Subject: Re: [Tutor] IDLE On 12/29/2017 11:28 AM, Alan

Re: [Tutor] IDLE

2017-12-29 Thread Rex via Tutor
I am a beginner and am using PyCharm as my editor. It’s great and free. It also provides some very nice courses that work within the editor. Google PyCharm.edu Sent from my iPhone > On Dec 29, 2017, at 3:53 PM, Mats Wichmann wrote: > >> On 12/29/2017 11:28 AM, Alan Gauld via Tutor wrote: >

Re: [Tutor] IDLE

2017-12-29 Thread Mats Wichmann
On 12/29/2017 11:28 AM, Alan Gauld via Tutor wrote: > On 29/12/17 16:43, Jay Kelman wrote: >> I downloaded Python and when I look at IDLE it tells me to update TCL. > > Are you using a Mac by any chance? I seem to recall this used to > be a common issue with MacOS. If you google for "IDLE MacOS

Re: [Tutor] IDLE

2017-12-29 Thread Alan Gauld via Tutor
On 29/12/17 16:43, Jay Kelman wrote: > I downloaded Python and when I look at IDLE it tells me to update TCL. Are you using a Mac by any chance? I seem to recall this used to be a common issue with MacOS. If you google for "IDLE MacOS Tcl" you should find several links telling you how to fix it.

Re: [Tutor] IDLE Subprocess Startup Error

2016-07-30 Thread Michael Selik
On Fri, Jul 29, 2016, 2:11 AM Darah via Tutor wrote: > "IDLE's subprocess didn't make connection. Either IDLE can't start a > subprocess or personal firewall software is blocking the connection.” > In the last few days, have you installed any other software? Perhaps something has changed your f

Re: [Tutor] IDLE Subprocess Startup Error

2016-07-29 Thread Alan Gauld via Tutor
On 29/07/16 05:24, Darah via Tutor wrote: > I’ve been using Python’s IDLE for a couple of weeks now and > it has been working fine but a few days ago I started getting > this error message > "IDLE's subprocess didn't make connection. > Either IDLE can't start a subprocess or personal firewall > s

Re: [Tutor] idle??

2016-01-14 Thread Chris Warrick
On 13 January 2016 at 21:49, Mark Lawrence wrote: > On 09/01/2016 10:38, Chris Warrick wrote: >> >> On 8 January 2016 at 20:07, bruce wrote: >>> >>> So, where does IDLE fit into this >> >> >> IDLE is a sad little “IDE”, which is really ugly, because it’s written >> in Tk. It lacks many IDE fe

Re: [Tutor] idle??

2016-01-14 Thread Sydney Shall
On 13/01/2016 23:10, Danny Yoo wrote: So, where does IDLE fit into this IDLE is a sad little “IDE”, which is really ugly, because it’s written in Tk. It lacks many IDE features. It comes with a really basic debugger (that doesn’t even highlight the line that is being currently executed…), f

Re: [Tutor] idle??

2016-01-14 Thread Wolf Halton
Idle is sufficient for a beginner. Better than notepad. It is cross platform so your environment looks the same on Linux Mac or What-have-you. Some people obsess over ide features to avoid thinking about the more important questions. Eclipse never helped me learn to write better py code. I have

Re: [Tutor] idle??

2016-01-13 Thread Danny Yoo
>> So, where does IDLE fit into this > > IDLE is a sad little “IDE”, which is really ugly, because it’s written > in Tk. It lacks many IDE features. It comes with a really basic > debugger (that doesn’t even highlight the line that is being currently > executed…), function signature hinting, an

Re: [Tutor] idle??

2016-01-13 Thread Mark Lawrence
On 08/01/2016 23:42, Alan Gauld wrote: On 08/01/16 19:07, bruce wrote: Is IDLE essentially an ide for doing py dev? I see there's a windows/linux (rpms) for it. Yes, its the official IDE for Python. There is an "unofficial" version called xidle which tends to get a lot of the new stuff befor

Re: [Tutor] idle??

2016-01-13 Thread Mark Lawrence
On 09/01/2016 10:38, Chris Warrick wrote: On 8 January 2016 at 20:07, bruce wrote: So, where does IDLE fit into this IDLE is a sad little “IDE”, which is really ugly, because it’s written in Tk. It lacks many IDE features. It comes with a really basic debugger (that doesn’t even highlight

Re: [Tutor] idle??

2016-01-09 Thread Chris Warrick
On 8 January 2016 at 20:07, bruce wrote: > Hey guys/gals - list readers > > Recently came across someone here mentioning IDLE!! -- not knowing > this. I hit google for a look. > > Is IDLE essentially an ide for doing py dev? I see there's a > windows/linux (rpms) for it. > > I'm running py.. I nor

Re: [Tutor] idle??

2016-01-08 Thread Alan Gauld
On 09/01/16 00:11, bruce wrote: > So, as an IDE/shell.. I assume it's not quite Eclipse, butallows you > to do reasonable editing/snyax tracking/etc.. as well as run apps > within the window/shell.. I assume breakpoints as well, and a good > chunk of the rest of the usual IDE functions... Exactly

Re: [Tutor] idle??

2016-01-08 Thread bruce
Thanks Alan... So, as an IDE/shell.. I assume it's not quite Eclipse, butallows you to do reasonable editing/snyax tracking/etc.. as well as run apps within the window/shell.. I assume breakpoints as well, and a good chunk of the rest of the usual IDE functions... What about function completion?

Re: [Tutor] idle??

2016-01-08 Thread Alan Gauld
On 08/01/16 19:07, bruce wrote: > Is IDLE essentially an ide for doing py dev? I see there's a > windows/linux (rpms) for it. Yes, its the official IDE for Python. There is an "unofficial" version called xidle which tends to get a lot of the new stuff before it makes it into the official release

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-14 Thread Markos
On 13-03-2015 12:34, Oscar Benjamin wrote: On 11 March 2015 at 19:43, Markos wrote: On 10-03-2015 16:48, Oscar Benjamin wrote: Looks like a bug in pip or in the get-pip script. What version of python3 are you using? But the command to install numpy gave an error message: #

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-13 Thread Oscar Benjamin
On 11 March 2015 at 19:43, Markos wrote: > > On 10-03-2015 16:48, Oscar Benjamin wrote: >> >> Looks like a bug in pip or in the get-pip script. What version of >> python3 are you using? > > But the command to install numpy gave an error message: > > # python3 -m pip install numpy > > Collecting nu

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-12 Thread Markos
On 09-03-2015 21:25, Oscar Benjamin wrote: On 9 March 2015 at 18:09, Markos wrote: I installed numpy in Debian (6.0) with the command: apt-get install python-numpy I just find that this package is exclusively for python 2.5 and 2.6 The idle3 use Python 3.1.3. How to install numpy for Pyt

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-11 Thread Markos
On 10-03-2015 16:48, Oscar Benjamin wrote: On 10 March 2015 at 13:59, Markos wrote: I don't have the python3-pip in the repository, then I downloaded the get-pip.py from: https://bootstrap.pypa.io/get-pip.py But when running the command "python3 get-pip.py" appears the error message (end

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-11 Thread Alan Gauld
Please use ReplyAll to include the tutor list On 11/03/15 02:00, Jack Potrashitel wrote: Ok , thanks a lot. But I still in doubts :(. if self.root is None: self.root = BinaryNode( value ) else: self.root.add( value ) the object is created as BinaryNode(value ) only

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-10 Thread Alan Gauld
On 10/03/15 13:59, Markos wrote: I'm not sure about Squeeze but on this Ubuntu 14.04 system you can install numpy for Python 3 by typing: $ sudo apt-get install python3-numpy The Python 3 version of the package is a relatively new addition to the repositories though so it may not be avail

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-10 Thread Oscar Benjamin
On 10 March 2015 at 13:59, Markos wrote: > I don't have the python3-pip in the repository, then I downloaded the > get-pip.py from: > > https://bootstrap.pypa.io/get-pip.py > > But when running the command "python3 get-pip.py" appears the error message > (end of message). Looks like a bug in pip

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-09 Thread Oscar Benjamin
On 9 March 2015 at 18:09, Markos wrote: > I installed numpy in Debian (6.0) with the command: > apt-get install python-numpy > > I just find that this package is exclusively for python 2.5 and 2.6 > > The idle3 use Python 3.1.3. > > How to install numpy for Python 3 in order to use it with the idl

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-09 Thread Alan Gauld
On 09/03/15 18:09, Markos wrote: How to install numpy for Python 3 in order to use it with the idle? Is there any simple way? Searching for numpy in Synaptic shows a python3-numpy package I'm using Mint 17 which is based on Debian/Ubuntu so there should be something in the debian repositorie

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-09 Thread Markos
On 06-03-2015 21:43, boB Stepp wrote: On Fri, Mar 6, 2015 at 12:27 PM, Markos wrote: Hi, I'm beginning to study the numpy. When I open a terminal (Debian Squeeze) and run the python interpreter the command "import numpy as np" run without errors. But when I run the same command on idle3

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread Dave Angel
On 03/06/2015 01:27 PM, Markos wrote: Hi, I'm beginning to study the numpy. And what does this have to do with the """Strengths & weaknesses of Python lists compared to "old school" arrays [Was "Fixed Vector Array"]""" thread? Please don't hijack a thread by replying with an unrelated

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread Mark Lawrence
On 07/03/2015 00:42, WolfRage wrote: Well on the python interpretor did you use python3 or just python? Please don't top post on this list. It makes following long threads difficult if not impossible, and is basically downright irritating. Thanks for listening. -- My fellow Pythonistas, a

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread boB Stepp
On Fri, Mar 6, 2015 at 12:27 PM, Markos wrote: > Hi, > > I'm beginning to study the numpy. > > When I open a terminal (Debian Squeeze) and run the python interpreter the > command "import numpy as np" run without errors. > > But when I run the same command on idle3 the following error appears. > >

Re: [Tutor] Idle - ImportError: No module named numpy

2015-03-06 Thread WolfRage
Well on the python interpretor did you use python3 or just python? On 03/06/2015 01:27 PM, Markos wrote: Hi, I'm beginning to study the numpy. When I open a terminal (Debian Squeeze) and run the python interpreter the command "import numpy as np" run without errors. But when I run the same co

Re: [Tutor] idle problem

2014-01-03 Thread Alan Gauld
On 03/01/14 19:35, I. Alejandro Fleischer wrote: Sudenly Im having troubles opening files with the idle editor. When I open a file it appears in blank, and can not close it anymore. How are you opening it? How do you run IDLE? How do you open a file? What does the 'blank' window display as a

Re: [Tutor] idle problem

2014-01-03 Thread Kodiak Firesmith
Hello Alejandro! Try running idle via a terminal and see if it's throwing out any error information. (-d switch for dubug) I've moved on to a mix between PyCharm and Vim depending on how big of a "project" I'm working on, but I still have idle installed so I can probably help a bit more if there

Re: [Tutor] idle problem

2014-01-03 Thread eryksun
On Fri, Jan 3, 2014 at 2:35 PM, I. Alejandro Fleischer wrote: > > Sudenly Im having troubles opening files with the idle editor. When I open a > file it appears in blank, and can not close it anymore. > > My OS is ubuntu 13.10 (64 bits) and my python version is 2.7.5. Maybe something is wrong wit

Re: [Tutor] IDLE shell indentation?

2012-10-19 Thread Alan Gauld
On 19/10/12 03:11, boB Stepp wrote: if zero: print(zero) else: print(phrase) This is a long standing bug/feature of IDLE and gets debated regularly on the IDLE mailing list. BTW There is a more feature rich unofficial version of Idle called IdleX by Roger Serwy here: htt

Re: [Tutor] IDLE shell indentation?

2012-10-18 Thread eryksun
On Thu, Oct 18, 2012 at 11:23 PM, boB Stepp wrote: > > This does keep the alignment I desire; however, IDLE shell's > autoindent feature goes away inside the exec function. Further, my > tab, which is set to 4 spaces, becomes 8 spaces at the indent; > apparently the tab takes effect after where ">

Re: [Tutor] IDLE shell indentation?

2012-10-18 Thread Steven D'Aprano
On 19/10/12 14:23, boB Stepp wrote: This does keep the alignment I desire; however, IDLE shell's autoindent feature goes away inside the exec function. Further, my tab, which is set to 4 spaces, becomes 8 spaces at the indent; apparently the tab takes effect after where ">>> " would normally oc

Re: [Tutor] IDLE shell indentation?

2012-10-18 Thread boB Stepp
On Thu, Oct 18, 2012 at 9:46 PM, eryksun wrote: > You're right that the alignment changed because of the font rendering > of the tab character. In Firefox I use the following to get a > monospace font in Gmail: > > http://userstyles.org/styles/15618/gmail-monospace-font-for-body-messages-textare

Re: [Tutor] IDLE shell indentation?

2012-10-18 Thread eryksun
On Thu, Oct 18, 2012 at 10:11 PM, boB Stepp wrote: if zero: > print(zero) > else: > print(phrase) > > Is there some special way for typing in multiline blocks of code into > the shell in IDLE? The above works, but it bothers me that "else" does > not line up with "if". Also, i

Re: [Tutor] IDLE problems FIXED

2012-03-07 Thread Paul Douglas Grant
Thanks Alan, It seems like it was a keybinding issue. When I dragged IDLE into a terminal window I got a laundry list of errors having to do with correct keys. I switched to a built in key set "classic mac", and I'm running. I really appreciated your help with this. Paul On Wed, Mar 7, 2012 at 12:

Re: [Tutor] IDLE problems

2012-03-07 Thread Paul Douglas Grant
Thanks again, I'm going to push my luck and ask you a final question on this subject, you've been really helpful. Should I be able to locate idle.py with a spotlight search. I can't seem to locate it... Here is what terminal gave me MacBook-001FF3569577-4:~ fedka2$ cd /Applications/Python\ 3.2 MacB

Re: [Tutor] IDLE problems

2012-03-07 Thread ALAN GAULD
Sorry, I was assuming too much knowledge I suspect.   > Last login: Wed Mar  7 11:27:19 on ttys000 > MacBook-001FF3569577-4:~ fedka2$ /Applications/Python\ 3.2 This line is the prompt plus the folder that you dragged :-   /Applications/Python\ 3.2 You needed to type cd first (no RETURN just cd

Re: [Tutor] IDLE problems

2012-03-07 Thread Paul Douglas Grant
>> OK, so from Finder. In that case can you open a Terminal window and >> drag the python folder into the Terminal - that should navigate you to >> the same folder. Then try running IDLE by typing >> >> python ./idle.py >> >> At the terminal prompt. > > > I meant to say that this will let you see a

Re: [Tutor] IDLE problems

2012-03-06 Thread Alan Gauld
On 06/03/12 18:12, ALAN GAULD wrote: OK, so from Finder. In that case can you open a Terminal window and drag the python folder into the Terminal - that should navigate you to the same folder. Then try running IDLE by typing python ./idle.py At the terminal prompt. I meant to say that this w

Re: [Tutor] IDLE problems

2012-03-06 Thread ALAN GAULD
Please use ReplyAll to include the group. > formulation of the question. Ultimately the brute question is why > can't I get IDLE to work... > I did uninstall the version that came with mac. > In a terminal I get version 2.7.2(?) OK, That's good because I think that's the same as the default insta

Re: [Tutor] IDLE problems

2012-03-06 Thread Alan Gauld
On 06/03/12 09:51, Paul Douglas Grant wrote: issue running python on mac snow leopard 10.6.8. I was running a version of python that was preinstalled on my computer. At some point in reading the python website I saw that version 3.2.2 was available and recommended. After downloading and installi

Re: [Tutor] IDLE/tk in 10.6

2011-07-15 Thread Steven D'Aprano
Luke Thomas Mergner wrote: [...] I'd like to try IDLE but there appears to be a known bug with 10.6's version of ActiveTCL. I've installed a newer version 8.5 via their website, but this has not fixed the problem. The module tkinter is still unable to load. Since both python and activeTCL ar

Re: [Tutor] IDLE colon = syntax error

2009-09-16 Thread Dave Angel
Carnell, James E wrote: I searched through archives and wasn't able to find the solution. Using IDLE, python 3, Ubuntu (default installations). Using command line: > if 1 == 1: print "equal" > equal Using IDLE: >if 1 == 1: print "equal"

Re: [Tutor] IDLE 3.0 menu weirdness

2009-07-03 Thread Alan Gauld
"Yash" wrote I do not observe the problem on my installation of Python 3.0.1 I don't see any arrows. Also the shortcut keywords work fine Yes the shortcuts worked ok for me too, it was just the menus that were broken. I upgraded to v3.1 and everything is fine now. Definitely odd! Th

Re: [Tutor] IDLE 3.0 menu weirdness

2009-07-03 Thread Yash
Alan, I do not observe the problem on my installation of Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit (Intel)] on Win Vista or on Win XP SP 3 I don't see any arrows. Also the shortcut keywords work fine and I am able to use the mouse freely. The only problem I get is that

Re: [Tutor] IDLE shortcut doesn't exist except for in the Start Menu

2009-05-27 Thread ALAN GAULD
> Strangely, the shortcut properties don't show the target. On my > Windows XP system, the properties just show > Target type: Application > Target location: (blank) > Target: Python 2.6.1 > > Kent Bizarre! My XP box says Target type: PYW File Target location: idlelib Target: C:\Python25\Lib

Re: [Tutor] IDLE shortcut doesn't exist except for in the Start Menu

2009-05-27 Thread Kent Johnson
On Tue, May 26, 2009 at 7:22 PM, Alan Gauld wrote: > "Gregory Morton" wrote > >> Looking in the directory for Python, I see no real sign of IDLE anywhere >> in it. > > Look at the properties of the start menu item. > > It should show the shortcut points to something like: > > C:\Python25\Lib\idle

Re: [Tutor] IDLE shortcut doesn't exist except for in the Start Menu

2009-05-27 Thread spir
Le Wed, 27 May 2009 00:22:00 +0100, "Alan Gauld" s'exprima ainsi: > However so far as a USB vsion of Python its not quite > as simple as just copying the folders Thee are some > registry settings that you may need to set too, as well > as the environment variables etc. > > But its not rocket

Re: [Tutor] IDLE shortcut doesn't exist except for in the Start Menu

2009-05-26 Thread Kent Johnson
On Tue, May 26, 2009 at 2:30 PM, Gregory Morton wrote: > Looking in the directory for Python, I see no real sign of IDLE anywhere in > it. The reason for why I want it visible is because I plan on storing Python > (this is 3.0.1 by the way) in my USB thumbdrive so I can use and transfer it > on ot

Re: [Tutor] IDLE shortcut doesn't exist except for in the Start Menu

2009-05-26 Thread Dave Angel
Gregory Morton wrote: Looking in the directory for Python, I see no real sign of IDLE anywhere in it. The reason for why I want it visible is because I plan on storing Python (this is 3.0.1 by the way) in my USB thumbdrive so I can use and transfer it on other computers. Is there any logic b

Re: [Tutor] IDLE shortcut doesn't exist except for in the Start Menu

2009-05-26 Thread Alan Gauld
"Gregory Morton" wrote Looking in the directory for Python, I see no real sign of IDLE anywhere in it. Look at the properties of the start menu item. It should show the shortcut points to something like: C:\Python25\Lib\idlelib\idle.pyw Is there any logic behind why I can't access IDLE wi

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-12 Thread Alan Gauld
"ALAN GAULD" wrote solved since about v2.3. However it does still through up issues, Ahem! That should of course be "throw up issues"! Sorry, Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ ___ Tutor maillist - Tu

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-12 Thread Wayne Watson
That's a good reason. I'm off to a XP Pro group to see how to break out of this, and restore order to IDLE. ALAN GAULD wrote: There used to be a lot of problems running Tkinter programs inside IDLE but most of these have been solved since about v2.3. However it does still through up

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-12 Thread ALAN GAULD
to favour the 3 window setup... Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ From: Wayne Watson To: Alan Gauld ; "tutor@python.org" Sent: Thursday, 12 February, 2009 5:09:01 AM Subject: Re: [Tutor] IDLE/phythonWin -

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-11 Thread Wayne Watson
This appears to be an old problem. . However, the question remains. What to do about it? reboot? I killed about a dozen pythonwin.exe task, but to no avail. Wayne Watson wrote: Using WinMerge, I found a difference between the two that shouldn't have been, but it didn't solve the problem.

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-11 Thread Wayne Watson
Title: Signature.html Using WinMerge, I found a difference between the two that shouldn't have been, but it didn't solve the problem. dialog.rateVar.get() versus dialog.rateVar.get There was another like it with get(), but it wouldn't have been executed in my test run. I suspect something e

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-11 Thread Wayne Watson
Title: Signature.html I ran it w/o using either IDLE/pyWin, and it worked without any messages, as shown by the console window. Isn't this the same as using the console? Outside of the two, my guess is that some subtle was made to the code, accidentally, and one tolerates it and the other doe

Re: [Tutor] IDLE

2009-02-11 Thread Alan Gauld
"WM." wrote Allen G.asked me how I made IDLE work. I did nothing on purpose. One can open Python into the IDLE window or into the program window. I assume you mean the editor window? Yes that will produce proper indentation, it is only the shell window that is broken because the >>> promp

Re: [Tutor] IDLE/phythonWin -- Who's On First? (Abbott and Costello)

2009-02-11 Thread Alan Gauld
"Wayne Watson" wrote Signature.htmlMy program in IDLE bombed with: == Exception in Tkinter callback Traceback (most recent call last): dialog = OperationalSettingsDialog( self.master, set_loc_dict ) tkSimpleDialog.Dialog.__init__(self, parent) self.wait_visibility() # wind

Re: [Tutor] IDLE

2009-02-10 Thread Alan Gauld
"WM." wrote A while back I made a big fuss about how IDLE indenting works. Kent was finally able to use language simple enough for me to understand. So I kept working IDLE. Today I got an error message. Somebody fixed it! It now indents just like all the other Python windows. Great going, S

Re: [Tutor] IDLE vs PythonWin

2009-02-10 Thread Wayne Watson
y, 10 February, 2009 1:09:13 AM Subject: Re: [Tutor] IDLE vs PythonWin You must be up 24/7! When I open a py file with pythonwin, it brings up the dialog and in its window, there are two windows. One is called interactive window (IW), and the other (script window--SW) contains the program py cod

Re: [Tutor] IDLE vs PythonWin

2009-02-10 Thread W W
On Mon, Feb 9, 2009 at 9:29 PM, Eric Dorsey wrote: > You can call a .py script from the command line, and it will run there. So, > in Windows XP: Start > Run > type "CMD" > Vista: Start > type "CMD" into the Start Search field. > If you're in Linux, get to a Terminal. > In Windows another window

Re: [Tutor] IDLE vs PythonWin

2009-02-09 Thread Eric Dorsey
You can call a .py script from the command line, and it will run there. So, in Windows XP: Start > Run > type "CMD" Vista: Start > type "CMD" into the Start Search field. If you're in Linux, get to a Terminal. In Windows another window will open with something like...C:\FolderWithMyPyFile> Linux so

Re: [Tutor] IDLE vs PythonWin

2009-02-09 Thread Wayne Watson
Title: Signature.html You must be up 24/7! When I open a py file with pythonwin, it brings up the dialog and in its window, there are two windows. One is called interactive window (IW), and the other (script window--SW) contains the program py code. To execute it, I press the little running ico

Re: [Tutor] IDLE vs PythonWin

2009-02-09 Thread ALAN GAULD
> Yes, but how do you debug the code interactively when you have > the editor outside pythonwin? Do you copy it into the pythonwin editor? Do you mean using the Python debugger? If I need to do that I will either use the command line debugger (pdb) inside the shell window or close the vim sessio

Re: [Tutor] IDLE vs PythonWin

2009-02-09 Thread Wayne Watson
is no right or wrong way to do it. Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ From: Wayne Watson To: Alan Gauld Sent: Monday, 2 February, 2009 1:00:15 PM Subject: Re: [Tutor] IDLE vs PythonWin I must be missing

Re: [Tutor] IDLE vs PythonWin

2009-02-01 Thread Alan Gauld
"Wayne Watson" wrote Hi, sorry, but I have no idea what vim is, Yes, its just a text editor that runs in its own window. Its a very very powerful text editor, one of perhaps 3 or 4 that are universally used by professional programmers on any operating system they may need to work with, and

Re: [Tutor] IDLE vs PythonWin

2009-01-31 Thread W W
On Sat, Jan 31, 2009 at 8:45 AM, Wayne Watson wrote: > Did I miss a response here? > > Wayne Watson wrote: > > vim? I'm looking at the interactive window now. Here are two choices for > what you say: > 1. > alt-tab vim > Traceback ( File "", line 1 > alt-tab vim > ^ > SyntaxErr

Re: [Tutor] IDLE vs PythonWin

2009-01-31 Thread W W
On Sat, Jan 31, 2009 at 9:56 AM, Wayne Watson wrote: > Hi, sorry, but I have no idea what vim is, let alone how to use any of the > features. I'd still like to know why pythonwin prints almost completely > blank pages. vim=vi(m), linux?? > VIM = Vi IMproved = vim +- vi. Basically, vim is just an

Re: [Tutor] IDLE vs PythonWin

2009-01-31 Thread Wayne Watson
Hi, sorry, but I have no idea what vim is, let alone how to use any of the features. I'd still like to know why pythonwin prints almost completely blank pages. vim=vi(m), linux?? W W wrote: On Sat, Jan 31, 2009 at 8:45 AM, Wayne Watson wrote: Did I miss

Re: [Tutor] IDLE vs PythonWin

2009-01-31 Thread Wayne Watson
Title: Signature.html Did I miss a response here? Wayne Watson wrote: vim? I'm looking at the interactive window now. Here are two choices for what you say: 1. alt-tab vim Traceback (  File "", line 1     alt-tab vim   ^ SyntaxError: invalid syntax 2. Pressing the alt-tab ke

Re: [Tutor] IDLE vs PythonWin

2009-01-29 Thread Wayne Watson
Title: Signature.html vim? I'm looking at the interactive window now. Here are two choices for what you say: 1. alt-tab vim Traceback (  File "", line 1     alt-tab vim   ^ SyntaxError: invalid syntax 2. Pressing the alt-tab keys moves me to the next Windows window, which happens t

Re: [Tutor] IDLE vs PythonWin

2009-01-29 Thread Wayne Watson
Title: Signature.html (Lateness of post here from the old Reply to All disease! It just worse. I reissued it to Alan again. Yi, yi, ...) Alan Gauld wrote: "Wayne Watson" wrote About three weeks ago I decided to give PythonWin a whirl. I believe I've noticed about as many code "wrecks" as w

Re: [Tutor] IDLE vs PythonWin

2009-01-29 Thread Alan Gauld
"Wayne Watson" wrote About three weeks ago I decided to give PythonWin a whirl. I believe I've noticed about as many code "wrecks" as with IDLE. Really? I haven't had many problems. That is, while working repeatedly on a program, the editor got confused about what it had available, usua

Re: [Tutor] IDLE problems

2008-12-30 Thread Kent Johnson
On Tue, Dec 30, 2008 at 12:05 PM, Pearce Michal wrote: > ok, so I just started working with python, however I have been working with > Java for awhile, and am fairly familiar with it. my problem with Python is > for the IDLE editor, and it is this: the return key, or enter key not only > moves the

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread Luke Paireepinart
On Thu, Oct 2, 2008 at 12:00 PM, David Holland <[EMAIL PROTECTED]> wrote: > > That works thanks > You should send e-mails to the list in plaintext, because it's really hard to reply to your e-mails in HTML mode. I mean, it's not hard for me to convert them, but it's just one of those minor nuisance

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread David Holland
That works thanks --- On Thu, 2/10/08, Luke Paireepinart <[EMAIL PROTECTED]> wrote: From: Luke Paireepinart <[EMAIL PROTECTED]> Subject: Re: [Tutor] Idle and windows XP firewall To: [EMAIL PROTECTED] Cc: tutor@python.org Date: Thursday, 2 October, 2008, 5:33 PM Try installing python

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread Luke Paireepinart
do this before just not in my new job > > --- On *Thu, 2/10/08, Luke Paireepinart <[EMAIL PROTECTED]>* wrote: > > From: Luke Paireepinart <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Idle and windows XP firewall > To: [EMAIL PROTECTED] > Cc: tutor@python.org > Date

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread David Holland
I just using the short cut and nothing happens :(. I have managed to do this before just not in my new job --- On Thu, 2/10/08, Luke Paireepinart <[EMAIL PROTECTED]> wrote: From: Luke Paireepinart <[EMAIL PROTECTED]> Subject: Re: [Tutor] Idle and windows XP firewall To: [EMAIL P

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread Luke Paireepinart
just does not open - very > annoying. > > --- On *Thu, 2/10/08, Luke Paireepinart <[EMAIL PROTECTED]>* wrote: > > From: Luke Paireepinart <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Idle and windows XP firewall > To: [EMAIL PROTECTED] > Cc: tutor@python.org > Date:

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread Luke Paireepinart
On Thu, Oct 2, 2008 at 10:31 AM, David Holland <[EMAIL PROTECTED]>wrote: > I am using python 2.5.2. Is there an alternative to idle that does not > have this problem? > (I also fixed that this was no longer a problem). > > Open IDLE without using the "edit with IDLE" link. Or use a different edit

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread David Holland
No that does not work.  When I click on idle it just does not open - very annoying. --- On Thu, 2/10/08, Luke Paireepinart <[EMAIL PROTECTED]> wrote: From: Luke Paireepinart <[EMAIL PROTECTED]> Subject: Re: [Tutor] Idle and windows XP firewall To: [EMAIL PROTECTED] Cc: tutor@pyt

Re: [Tutor] Idle and windows XP firewall

2008-10-02 Thread David Holland
I am using python 2.5.2.  Is there an alternative to idle that does not have this problem? (I also fixed that this was no longer a problem). ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Idle and windows XP firewall

2008-10-01 Thread Alan Gauld
"W W" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Why would your firewall be blocking idle? Does idle connect to the internet? It connects to itself via a socket. But I thought that problem had been fixed several releases ago... On Wed, Oct 1, 2008 at 8:21 AM, David Holland

Re: [Tutor] Idle and windows XP firewall

2008-10-01 Thread Lie Ryan
On W W wrote: > > Message: 6 > Date: Wed, 1 Oct 2008 08:46:50 -0500 > From: "W W" <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Idle and windows XP firewall > To: [EMAIL PROTECTED] > Cc: tutor python > Message-ID: > <[EMAIL PROTECTED]>

Re: [Tutor] Idle and windows XP firewall

2008-10-01 Thread W W
gt; --- On *Wed, 1/10/08, Kent Johnson <[EMAIL PROTECTED]>* wrote: > > From: Kent Johnson <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Idle and windows XP firewall > To: [EMAIL PROTECTED] > Date: Wednesday, 1 October, 2008, 11:35 AM > > On Wed, Oct 1, 2008 at 5:04 AM

Re: [Tutor] Idle and windows XP firewall

2008-10-01 Thread David Holland
The program does not start up.  I think it is a firewall issue but I am having problems changing my firewall to allow idle. --- On Wed, 1/10/08, Kent Johnson <[EMAIL PROTECTED]> wrote: From: Kent Johnson <[EMAIL PROTECTED]> Subject: Re: [Tutor] Idle and windows XP firewall To: [EMA

Re: [Tutor] Idle

2008-03-14 Thread Alan Gauld
"Michael Connors" <[EMAIL PROTECTED]> wrote > You need to put : > import random > > or alternatively use: > from random import * Or better still use from random import randrange import * style is not recommended because of the dangers of polluting the namespace -- Alan Gauld Author of th

Re: [Tutor] Idle

2008-03-14 Thread Bartruff, Pamela J.
I'm very new to Python, but it seems like I just learned in a class for a random number, you would need the : import random -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Marlett Sent: Thursday, March 13, 2008 7:44 PM To: tutor@python.org Subj

Re: [Tutor] Idle

2008-03-14 Thread Michael Connors
> > It all works up until I need to print five randomly chosen numbers from > the range [1,n]. It tells me that random is not defined. You need to put : import random in your program before doing: y = random.randrange(1,n) or alternatively use: from random import * and call the function as fol

Re: [Tutor] IDLE 1.2 Question

2007-08-12 Thread Jerry VanBrimmer
Thank you, sorry for the repeat question. On 8/11/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote: > It depends whether IDLE is opened with a subprocess or not. If it's a > subprocess, your program will have a separate interpreter entirely from > that used by IDLE, so the namespace will be the de

  1   2   >