when editing wikipedia articleyou can create bulleted list by putting each list item on its own line and placing star in front but say you have really large list that you want to add bullet points to you could just type those stars at the beginning of each lineone by one or you could automate this task with short python script the bulletpointadder py script will get the text from the clipboardadd star and space to the beginning of each lineand then paste this new text to the clipboard for exampleif copied the following text (for the wikipedia article "list of lists of lists"to the clipboardlists of animals lists of aquarium life lists of biologists by author abbreviation lists of cultivars and then ran the bulletpointadder py programthe clipboard would then contain the followinglists of animals lists of aquarium life lists of biologists by author abbreviation lists of cultivars this star-prefixed text is ready to be pasted into wikipedia article as bulleted list step copy and paste from the clipboard you want the bulletpointadder py program to do the following paste text from the clipboard do something to it copy the new text to the clipboard that second step is little trickybut steps and are pretty straightforwardthey just involve the pyperclip copy(and pyperclip paste(functions for nowlet' just write the part of the program that covers steps and enter the followingsaving the program as bulletpointadder py#python bulletpointadder py adds wikipedia bullet points to the start of each line of text on the clipboard import pyperclip text pyperclip paste(todoseparate lines and add stars pyperclip copy(textmanipulating strings