Answer the question
In order to leave comments, you need to log in
How to write text to windows buffer with a space in front of it?
To fill the buffer I use:
import pyperclip
pyperclip.copy("Типа текст")
import pyperclip
pyperclip.copy(" Типа текст")
import pyperclip
pyperclip.copy(" "+"Типа текст")
import pyperclip
import pyautogui
pyautogui.write(" ")
pyperclip.copy("Типа текст")
Answer the question
In order to leave comments, you need to log in
Everything is working. The space can be trimmed by the program into which you insert the line
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question