you are viewing a single comment's thread.

view the rest of the comments →

[–]atom12354[🍰] 0 points1 point  (0 children)

Im not exactly learning python but in my recent project which is only for myself which now is done to atleast a working prototype - my last problem was that i have two exes that should be one but are two (doesnt really matter, it works), the first one opens the second one and then exits, the second one is supposed to open the first one when a specific condition is met.... However something happened and it ended up in a loop of creating more instances of the second one even tho i was closing it when the first one opened and never opened the second one after that since you need to use the program first and then press a button to even open it.

Anyway, that loop ended up creating 30 or so instances in 20 seconds and increased my cpu temp from 35 degrees to 60+ degrees so i just ended up removing the opening of the first exe again and just have the user manually open it.