I have been searching for quite some time, trying to find how to mask terminal OUTPUT.
example: print(password) terminal:
but still be able to copy and paste the password value.
There doesn't seem to be an answer to this, i have asked around :(
I worked around this problem. the goal was to be able to put the password in the clipboard. so i used pyperclip to do it :)
hope it helps someone
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.