lib/util/fs.py
def default_python_binary_path():
    '''
    Generates and returns a path to the python executable, as resolved by
    `resolve_binary_path`. This will automatically prefer pythonw in Windows.
    '''
    if os.name == 'nt':
        pythonw_binpath = resolve_binary_path('pythonw')
        if pythonw_binpath:
            return pythonw_binpath

    python_binpath = resolve_binary_path('python')
    if python_binpath:
        return python_binpath

    # best effort:
    return 'python'

    Generates and returns a path to the python executable, as resolved by
    `resolve_binary_path`. This will automatically prefer pythonw in Windows.
    
Generates and returns a path to the python executable, as resolved by
`resolve_binary_path`. This will automatically prefer pythonw in Windows.
Generates and returns a path to the python executable as resolved by ` resolve_binary_path ` . This will automatically prefer pythonw in Windows .
def default_python_binary_path():
    if os.name == 'nt':
        pythonw_binpath = resolve_binary_path('pythonw')
        if pythonw_binpath:
            return pythonw_binpath
    python_binpath = resolve_binary_path('python')
    if python_binpath:
        return python_binpath
    return 'python'
def default_python_binary_path ( ) : if os . name == 'nt' : pythonw_binpath = resolve_binary_path ( 'pythonw' ) if pythonw_binpath : return pythonw_binpath python_binpath = resolve_binary_path ( 'python' ) if python_binpath : return python_binpath return 'python'
Generates and returns a path to the python executable, as resolved by
`resolve_binary_path`.
Generates and returns a path to the python executable as resolved by ` resolve_binary_path ` .
'''
    Generates and returns a path to the python executable, as resolved by
    `resolve_binary_path`. This will automatically prefer pythonw in Windows.
    ''' # best effort: