0
I installed Python for Windows on my machine but had one question: Both IDLE Python 3.5 (Shell) and Python 3.5 (CMD) have been installed. Is there a difference between them? Do any of them have more resources or something?
0
I installed Python for Windows on my machine but had one question: Both IDLE Python 3.5 (Shell) and Python 3.5 (CMD) have been installed. Is there a difference between them? Do any of them have more resources or something?
2
There are differences in usability, in theory you are able to perform the same operations both in IDLE(or in another text editor) and by the interactive prompt.
The difference is that by CMD you will have to execute your code line by line, at each enter pressed* your code is evaluated and returned with a value, which is great for small tests, but if you miss a line there is no way to go back and change the content, there is no intuitive and practical way to save your code, among several other "problems". Debugging the code seems unworkable by CMD too, but it’s not something I can say for sure, I’ve never tried. Basically the CMD is indicated for you to perform small tests, see the result of an operation, check how a method works, etc.. For consultations, whether or not.
IDLE offers useful functions such as Highlight text, autocomplete for methods and variables, among other functions that facilitate your work as a programmer.
*If you run a block as a "for", for example, you will be able to insert multiple commands before the prompt evaluates its expression
Browser other questions tagged python windows
You are not signed in. Login or sign up in order to post.