title: How to pop-up minimized program at Taskbar python
body: <p>What I want to pop-up is minimized at taskbar.</p>
  
  <p>But when I run below code, not minimized program pop-up, one more program run, and it cannot be clicked or seen and simply exists in the taskbar.</p>
  
  <pre><code>import win32gui, win32con
  
  
  hwnd = win32gui.FindWindow(None, "League of Legends")
  win32gui.SetForegroundWindow(hwnd)
  win32gui.ShowWindow(hwnd, win32con.SW_SHOW)
  </code></pre>
  
  <p>What I expected : minimized program pop-up</p>
  
  <p><img src="https://i.stack.imgur.com/nwiLT.png" alt="enter image description here"></p>