I am Automating a GUI application using Squish Automation tool. The environment I am using is Ubuntu. My Automation code is in Python. I need to hit keystroke "D" to launch a debug console on my GUI to automate it. How can I write a python code that simulates the keystroke hit.