I'm trying to make a basic script that could open a dataframe in the gui and then update this dataframe every 'x' seconds. However, my best attempt just results in the show() command being executed infinitely with no delay until I kill the script. Here's an example:
is there something in the library that would allow me to directly check if the window is open? If not, what would be my best course of action to only execute the code in the while loop when the gui is open?
I'm trying to make a basic script that could open a dataframe in the gui and then update this dataframe every 'x' seconds. However, my best attempt just results in the show() command being executed infinitely with no delay until I kill the script. Here's an example:
is there something in the library that would allow me to directly check if the window is open? If not, what would be my best course of action to only execute the code in the
while
loop when the gui is open?