Dec-16-2022, 05:56 PM
Hello there, I'm a noob on development but I do have some notion, so please be patient and bear with me.
I'm trying to learn python on my own and I came up with a small challenge for me to see if I can understand how it works and how everything is connected.
I want to make an executable where I have several checkboxes for the user to choose from and after he chooses what he wants then you have a button to execute all tasks that were checked.
I know how to create the checkboxes and the button.
So I'm a bit lost on which command I can use for the checkboxes to add that task to the button and then when the button is pressed is going to run only those that were checked.
I'll give an example:
I want to add tasks for Powershell, so each check box would be a specific command that has to be added to the button if the user check the box and then the button when pressed would have to open powershell and run all the commands that the person chose.
Thank you!
I'm trying to learn python on my own and I came up with a small challenge for me to see if I can understand how it works and how everything is connected.
I want to make an executable where I have several checkboxes for the user to choose from and after he chooses what he wants then you have a button to execute all tasks that were checked.
I know how to create the checkboxes and the button.
So I'm a bit lost on which command I can use for the checkboxes to add that task to the button and then when the button is pressed is going to run only those that were checked.
I'll give an example:
I want to add tasks for Powershell, so each check box would be a specific command that has to be added to the button if the user check the box and then the button when pressed would have to open powershell and run all the commands that the person chose.
Thank you!