For the last 30 mins i have been trying to remove a part of a textbox, in this case i want to remove http://www.youtube.com/watch?v= and remove anything after the end starting with &. do you understand what I mean? Any help appreciated, I really tried.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: