Getting Started with Pyzo

Marguerite5925 Posted messages 4 Registration date   Status Member Last intervention   -  
 Marguerite5925 -
Hello,
As I mentioned in another post, I am a beginner in Python programming.
So far I have been using this link to practice http://pythontutor.com/visualize.html#mode=edit
but I just downloaded PYZO now and I would like to run the program attached. It works when I apply it on the previous link but not on Pyzo. I must be doing something wrong. I created the program in the left file, I wanted to execute it but nothing happened, so I copied and pasted it into the logger and an error message appeared.
I think I need to approach it differently...
could you please explain it to me? Thank you

Configuration: Windows / Chrome 80.0.3987.116

3 answers

  1. matousso Posted messages 185 Registration date   Status Member Last intervention   89
     
    Hello,
    in the Shells space on the right, it says "you can use this environment...". Click on it and you will be able to run your program. Currently, Pyzo is not "linked" to the version of Python you have installed, which is why you need to click on it.
    1
  2. marguerite5925
     
    Ah yes, thank you very much!!
    Now, when I click on "run", this message appears in the shell
    "KeyboardInterrupt

    Kernel process terminated (after interrupting) for restart. (0)

    Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) on Windows (32 bits).
    This is the Pyzo interpreter with integrated event loop for ASYNCIO.
    Type 'help' for help, type '?' for a list of *magic* commands.
    Running script: "C:\Users\Emilie\test.py"
    "
    What does it mean? Why isn't it working? Anyway, thank you!
    0
  3. matousso Posted messages 185 Registration date   Status Member Last intervention   89
     
    This message means that everything is working well.
    Running script: "C:\Users\Emilie\test.py"
    indicates that your file is being read correctly.
    How do you run your file?
    0
    1. Marguerite5925
       
      Ok thanks. Since it's not working, I tried different ways: clicking on run, or copying and pasting into the shell.
      0