Jun-26-2020, 10:10 PM
I use Python functions to create html. I made a module, cunningly called 'makeHTML.py' I import this module in justMakewebpage.py I have refined this over the last 3 years or so, it all works well, and does what I want. I run justMakewebpage.py in a bash terminal.
Now, I would like to try to have a GUI for this. I haven't really used Tkinter before.
I have this button:
Most of my create-html-functions require some input from me, like: "Do you want the words in the table sorted alphabetically?"
I'm not asking you to give me the code. If you could just point me at some links where someone has done this.
I can't really create code, but I can usually adapt other people's programmes to suit my purposes.
Thanks in advance for any tips or links.
Now, I would like to try to have a GUI for this. I haven't really used Tkinter before.
I have this button:
bt = Button (window, text="Enter", bg="orange", fg="red", command=clicked) bt.grid (column=3, row=3)this label:
l4 = Label(window,text='Some text', font="Times 15 bold") l4.grid (column=4, row=4)and this function:
def clicked(): l4.configure (text="Button was clicked !!")So I'm thinking, I can link buttons to my individual create-html-functions.
Most of my create-html-functions require some input from me, like: "Do you want the words in the table sorted alphabetically?"
I'm not asking you to give me the code. If you could just point me at some links where someone has done this.
I can't really create code, but I can usually adapt other people's programmes to suit my purposes.
Thanks in advance for any tips or links.