Where is idle in python 3.2




















On Windows, Idle is usually started from the start menu or a pinned icon. In the console, python -m idlelib works or with 3. Idle does have a debugger based on bdb as is pdb , but I just fixed an obnoxious bug for 3. Add a comment. Active Oldest Votes. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Related Hot Network Questions. Let's try a few more commands. If we look below:. Note that the "print i," line is indented. This is a Python rule for the "for" statement that will be covered later.

Don't worry too much about knowing the exact rules for making programs yet: the idea is that we can experiment with Python by typing in commands. If things don't work, then we can correct the mistake, and try it again. If we close down Python and start it up again, how do we get the computer to remember what we typed? The solution is a little subtle: we can't directly save what's on the interpreter window, because it will include both our commands and the system's responses.

What we'd like is to make a prepared file, with just our own commands, and to be able to save that file as a document. We can later open that file and "run" Python over it, saving us the time of retyping the whole thing over again. Let's try this. First, let's start with a clean slate by opening up a new window. We notice that there's nothing in this new window. What this means is that this file is purely for our commands: Python won't interject with its own responses as we enter the program, that is, not until we tell it to.

I'll call this the "Program" window, to distinguish it from the Interpreter window. What we wanted to do before was save our program that we had tried out on the interpreter window. Ok, we're done with copying and pasting. The interpreter uses them just to tell us that we're in the interpreter, but now that we're editing in a separate file, we can remove the artifacts that the interpreter introduces.

Let's save the file now. The Save command is located under the File menu:. When you click "Save" you will be asked where to save the file. To save your programs for access when you leave the lab, save it to a flash drive or to your locker. Debug menu Edit context menu Shell context menu Basic editing and navigation Automatic indentation Python Shell window Syntax colors Startup Command line usage Previous topic The Python Software Foundation is a non-profit corporation.

Please donate. Last updated on Oct 12, Found a bug? Created using Sphinx 1.



0コメント

  • 1000 / 1000