Hello everyone, I wrote a script (online store parser), I launch it in the console, everything works very briskly. I decided to give some kind of appearance to the program, I made two TextInput'a and two buttons. I launch it - the window hangs, although everything is output to the console, as before it is famously. I read that if you compile a .exe file, everything will work, but no, it also hangs. Who knows how to speed up the process, I will be grateful.

  • The control is transferred from the interface to your program, and until the program returns control to the interface, the interface will be hung - everything is fine. The solution is to launch the interface in a separate thread (read about the streams and their friendship with your module for interfaces on the Internet) - andreymal
  • Many thanks, I will understand - Karlson21
  • Read about the threading module. This is about multithreading. The comrade on top wrote it right. Just parsing is slow and the program freezes. - fedotsoldier
  • Just today, everything was possible and it was with the threading module. Thanks for the comment - Karlson21

0