9

I want to use the scratch text editor to execute python3 scripts. Is there a way to do this ?

  • 1
    You want the scripts and debugging output to appear in a terminal in Scratch? – Lewis Goddard Jul 15 '15 at 21:55
9
  1. Open Scratch
  2. Open Preferences
  3. Switch to Extensions
  4. Terminal (Close Preferences)
  5. Click new Terminal icon in headerbar.
  6. Execute Python in attached Terminal.

Enabling Terminal in Scratch Terminal in Scratch

  • 2
    Notice that Scratch is not "executing" anything, nor could it since it's a text editor. This attaches a terminal to it, but it's not different from simply running your script in an open instance of Terminal. – Gabriel Jul 16 '15 at 1:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.