S
S
Suohit2020-08-03 22:06:40
Python
Suohit, 2020-08-03 22:06:40

How to print characters using PyWinAuto?

In PyWinAuto, I'm trying to print the path to install the application using .type_keys, but some of the characters I need are not displayed - the percent sign, brackets and colon. How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-08-03
@Suohit

Try putting the following characters in curly braces:

from pywinauto.keyboard import send_keys
send_keys("{%}{(}{:}")

Retrieved from https://stackoverflow.com/a/45116788

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question