pyzo icon indicating copy to clipboard operation
pyzo copied to clipboard

Improve clarity wrt running vs executing code

Open almarklein opened this issue 8 years ago • 0 comments

Copying from https://groups.google.com/forum/#!topic/pyzo/DFFlaz2lUpA:

The Run menu items will at first be a little confusing to most users.

There are items like

  • Run file
  • Execute file

But the getting started help text refers instead to:

  • Interactive mode
  • Running in restarted shell

So the connection between run/execute menu selections and interactive/restarted shell modes is not exactly clear. Evidently the "as script" phrase is used to signal the difference, but that phrase rather adds to the confusion since any python code is called script code.

Likewise, some users may wonder how "MAIN file" is connected to "if 1 and name=='main':", so to avoid that confusion as well it might be better to use "starred file" instead of "main file".

Suggestion for self-explaining menu items:

  • Run current file in restarted shell
  • Run starred file in restarted shell
  • Execute selection in interactive shell
  • Execute cell in interactive shell
  • Execute current file in interactive shell
  • Execute starred file in interactive shell

(also in the tab / right click pull down)

almarklein avatar Aug 23 '17 08:08 almarklein