1

The numeric keypad on my Magic Keyboard does not work when I am running the Python interpreter in interactive mode. The regular numbered keys do work for entering numbers. But when I try to enter a number on the numeric keypad when I am running the Python interpreter (launched from the Terminal) I get no response.

Also, the numeric keypad on my Magic Keyboard DOES work properly when I am using other apps, including, but not limited to, TextEdit, Numbers, irb (the interpreter for the Ruby language), Terminal (when I am not in the Python interpreter), and every other app that I have tried.

I am now running Python 3.13.2

1
  • When running the interpreter in Terminal.app, or when running IDLE? Commented Mar 11 at 12:17

1 Answer 1

2

After doing some additional Google searches, some commenters suggested hitting the Num Lock key to enable numeric input from the numeric keypad. But my Magic Keyboard didn't have a Num Lock key. Other commenters mentioned that the clear key might function as the Num Lock key. Indeed, I discovered that the clear key served as a toggle to enable and to disable numeric input from the numeric keypad. So this solves the problem.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.