Windows Function In Python Definition