• A tool to find and fix problems (bugs) in your programs
Warning You can't save what you type in interactive mode. If you want to keep a copy of what you wrote, save your code and results in a file on your computer.
You can use interactive mode as a calculator. You can manipulate text and make assignments in interactive mode. Finally, you can import modules, functions, or parts of a longer program and test them. These features can help you
• Experiment with Python objects without writing long programs.
• Debug programs by importing parts of your program one at a time.
Was this article helpful?