XRP - Python - Getting keyboard inputs

I am writing simple Python code to control an XRP robot using the xrpcode.wpi.edu web browser interface. I want to control movement of the robot with a simple “wasd” scheme of keystrokes - forward, turn left, backward, turn right. I can’t figure out how to capture the keystrokes; or rather, I can’t figure out how to import the keyboard library in a way that this environment requires. Any tips?

I’ve been playing with this in my free time, I’ll update if I get something working soon

In the meantime, it might be worth posting similar in the XRP forum

Thanks for that tip - I have done so.