3 neat ways to use the Grok Terminal

Ben Taylor
Oct 3, 2018 · 5 min read
  1. Doing live demos
  2. Debugging!

1. Trying out ideas

Often you have an idea about how you might solve something, but you’re not sure about how the parts fit together. If you write it anyway and end up with a bug, you can’t be sure why the bug is happening. Did it work differently to how you thought, or is the mistake somewhere else?

2. Live Demos

The terminal is really useful for demonstrating features of python. You can pull it up and start typing Python in to demonstrate it. Lets say we wanted to demonstrate how input works, we can type out a line of code and run it straight away.

3. Debugging

One of my favourite uses of the Terminal is to debug a program you’ve already written. When you press the terminal button we run your program and then open up the terminal. That means you have full access to any variables you’ve created. This can give you visibility in to the “hidden” state of your code.

Grok Learning

Articles about coding by the team at Grok Learning & teacher friends.

Thanks to Jim Mussared and Jack Reichelt.

Ben Taylor

Written by

Software developer and interaction designer specialising in EdTech. Working at Grok Learning and studying Education.

Grok Learning

Articles about coding by the team at Grok Learning & teacher friends.