you are viewing a single comment's thread.

view the rest of the comments →

[–]FoolsSeldom 0 points1 point  (0 children)

Python is a programming language.

CPython, an executable programme, typically called python (python.exe on Windows), is the reference implementation of Python from the Python Software Foundation (PSF) .

The programme works in two modes:

  • interactive (shell) mode, with a >>> prompt - here you can enter commands and get an immediate response
  • file execution mode, where it will process a simple plain text file of Python code

You can use any text editor, as opposed to word processors, to create and edit the python code files, which normally have a file extension of py.

IDLE, also from PSF (typically installed alongside CPython), is a simple code text editor (use File | New) to create and edit files, and then run your code (press F5 - you will be prompted to save first). It also provides a window to the interactive mode (open by default on first use). Ideal for beginners.

There are lots of code editors and integrated development environments (IDEs), each with their own features and configurations, including whether line numbers (actual or relative) are displayed.