module documentation
(source)

Win32 utilities.

See also twisted.python.shortcut.

Class FakeWindowsError Stand-in for sometimes-builtin exception on platforms for which it is missing.
Function cmdLineQuote Internal method for quoting a single command-line argument.
Function quoteArguments Quote an iterable of command-line arguments for passing to CreateProcess or a similar API. This allows the list passed to reactor.spawnProcess to match the child process's sys.argv properly.
Variable ERROR_DIRECTORY Undocumented
Variable ERROR_FILE_NOT_FOUND Undocumented
Variable ERROR_INVALID_NAME Undocumented
Variable ERROR_PATH_NOT_FOUND Undocumented
Variable formatError Undocumented
Variable O_BINARY the 'binary' mode flag on Windows, or 0 on other platforms, so it may safely be OR'ed into a mask for os.open.
Class _ErrorFormatter Formatter for Windows error messages.
Variable _cmdLineQuoteRe Undocumented
Variable _cmdLineQuoteRe2 Undocumented
def cmdLineQuote(s): (source)
Internal method for quoting a single command-line argument.
Parameters
s:stran unquoted string that you want to quote so that something that does cmd.exe-style unquoting will interpret it as a single argument, even if it contains spaces.
Returns
stra quoted string.
def quoteArguments(arguments): (source)
Quote an iterable of command-line arguments for passing to CreateProcess or a similar API. This allows the list passed to reactor.spawnProcess to match the child process's sys.argv properly.
Parameters
argumentsan iterable of str, each unquoted.
Returns
a single string, with the given sequence quoted as necessary.
ERROR_DIRECTORY: int = (source)

Undocumented

ERROR_FILE_NOT_FOUND: int = (source)

Undocumented

ERROR_INVALID_NAME: int = (source)

Undocumented

ERROR_PATH_NOT_FOUND: int = (source)

Undocumented

formatError = (source)

Undocumented

O_BINARY = (source)
the 'binary' mode flag on Windows, or 0 on other platforms, so it may safely be OR'ed into a mask for os.open.
_cmdLineQuoteRe = (source)

Undocumented

_cmdLineQuoteRe2 = (source)

Undocumented