Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python get list of all open windows

import win32gui

def winEnumHandler( hwnd, ctx ):
    if win32gui.IsWindowVisible( hwnd ):
        print (hex(hwnd), win32gui.GetWindowText( hwnd ))

win32gui.EnumWindows( winEnumHandler, None )
Comment

PREVIOUS NEXT
Code Example
Python :: rename df column 
Python :: how to get the system time in python 
Python :: FutureWarning: Input image dtype is bool. Interpolation is not defined with bool data type. Please set order to 0 or explicitly cast input image to another data type. Starting from version 0.19 a ValueError will be raised instead of this warning. 
Python :: how to search for a specific file extension with python 
Python :: selenium python enter text 
Python :: distance formula in python 
Python :: ValueError: numpy.ndarray size changed 
Python :: flask get ip address of request 
Python :: time start python 
Python :: count unique values numpy 
Python :: python discord bot join voice channel 
Python :: python split string by tab 
Python :: tick labels vertical matplotlib 
Python :: discord.py intents 
Python :: install re package python 
Python :: open image from link python 
Python :: heat map correlation seaborn 
Python :: find all nan columns pandas 
Python :: pandas drop row by condition 
Python :: throw error python 
Python :: keras import optimizer adam 
Python :: portscan with python 
Python :: dns request scapy 
Python :: roc curve python 
Python :: first position dict python 
Python :: delete image with python 
Python :: create virtualenv in pythonanywhere 
Python :: scroll to element python selenium 
Python :: csv to numpy array 
Python :: convert numpy array to dataframe 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =