Burgerlib Python
Loading...
Searching...
No Matches
Functions | Variables
burger.windowsutils Namespace Reference

Package that contains windows only functions. More...

Functions

def find_visual_studios (refresh=False)
 Find every Windows SDK from 5.0 and higher. More...
 

Variables

list _FIND_VISUAL_STUDIOS
 find_visual_studios() cache
 

Detailed Description

Package that contains windows only functions.

They will operate on Windows, Cygwin, MSYS2 and Windows Subsystem for Linux. On macOS and pure Linux, they will return no data.

Function Documentation

◆ find_visual_studios()

def burger.windowsutils.find_visual_studios (   refresh = False)

Find every Windows SDK from 5.0 and higher.

This function may take some time if multiple copies of Visual Studio are installed on the machine. For speed, the results are cached and the cache is used on subsequent calls.

More info is here Searching for Visual Studio

Note
This function will return an empty list on macOS and pure Linux. It has been tested on Windows, Cygwin, MSYS2 and Ubuntu Windows Subsystem for Linux.
Parameters
refreshForce the cache to be reset if True.
Returns
list of WindowsSDKInstance for every SDK found.