Label (window, text="Output:", bg="cyan", fg="black", font="none 12 bold"). id(row=2, column=0, sticky="W")īutton(window, text="Convert", width=6, command=click). Textentry = Entry(window, width=30, bg="white") Label (window, text="Pune aici textul:", bg="cyan", fg="black", font="none 12 bold"). Also, press ctrl+g to open the Immediate Window. Copy-and-paste the offending statement into a reply here, between 'code' and '/code' tags embedded between square brackets. After pressing the f8 key twice, you should stop at the offending VBA statement. ![]() Os.rename(r'C:\Users\790\OneDrive\Desktop\handwriting\here.png',r'C:\Users\790\OneDrive\Desktop\handwriting\handwriting_' + str(x) + '.png') Instead of the runtime error, you should not stop at the Stop statement. #pwt.text_to_handwriting("text","C:\\Users\\790\\OneDrive\\Desktop\\scrisdemana\\here.png", )Įntered_text = textentry.get()#this will collect the text from the text entry boxĭefinition = pwt.text_to_handwriting(entered_text,"C:\\Users\\790\OneDrive\\Desktop\\handwriting\\here.png", ) I want to change its name every time I make a new file, because it replaces the old file with a new one File "C:\Users\790\OneDrive\Desktop\scrisdemana\main.py", line 16, in click I want to make a script (GUI) in which I have to convert my text to a png file with the handwriting
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |