OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
class | _AtomicFile |
class | _FixupStream |
class | _NonClosingTextIOWrapper |
Functions | |
def | get_filesystem_encoding () |
def | is_ascii_encoding (encoding) |
def | get_best_encoding (stream) |
def | is_bytes (x) |
def | set_binary_mode (f) |
def | isidentifier (x) |
def | get_binary_stdin () |
def | get_binary_stdout () |
def | get_binary_stderr () |
def | get_text_stdin (encoding=None, errors=None) |
def | get_text_stdout (encoding=None, errors=None) |
def | get_text_stderr (encoding=None, errors=None) |
def | filename_to_ui (value) |
def | get_streerror (e, default=None) |
def | open_stream (filename, mode="r", encoding=None, errors="strict", atomic=False) |
def | strip_ansi (value) |
def | should_strip_ansi (stream=None, color=None) |
def | raw_input (prompt="") |
def | auto_wrap_for_ansi (stream, color=None) |
def | term_len (x) |
def | isatty (stream) |
Variables | |
int | PY2 = 2 |
CYGWIN = sys.platform.startswith("cygwin") | |
MSYS2 = sys.platform.startswith("win") and ("GCC" in sys.version) | |
string | APP_ENGINE |
string | WIN = sys.platform.startswith("win") and not APP_ENGINE and not MSYS2 |
int | DEFAULT_COLUMNS = 80 |
text_type = unicode | |
raw_input = raw_input | |
tuple | string_types = (str, unicode) |
tuple | int_types = (int, long) |
iteritems = lambda x: x.iteritems() | |
range_type = xrange | |
def | isidentifier = lambda x: x.isidentifier() |
auto_wrap_for_ansi = None | |
colorama = None | |
get_winterm_size = None | |
dictionary | binary_streams |
dictionary | text_streams |
def click._compat.auto_wrap_for_ansi | ( | stream, | |
color = None |
|||
) |
This function wraps a stream so that calls through colorama are issued to the win32 console API to recolor on demand. It also ensures to reset the colors if a write call is interrupted to not destroy the console afterwards.
def filename_to_ui | ( | value | ) |
def click._compat.get_best_encoding | ( | stream | ) |
Returns the default stream encoding if not found.
def get_binary_stderr | ( | ) |
def get_binary_stdin | ( | ) |
def get_binary_stdout | ( | ) |
def click._compat.get_filesystem_encoding | ( | ) |
def click._compat.get_streerror | ( | e, | |
default = None |
|||
) |
def get_text_stderr | ( | encoding = None , |
|
errors = None |
|||
) |
def get_text_stdin | ( | encoding = None , |
|
errors = None |
|||
) |
def get_text_stdout | ( | encoding = None , |
|
errors = None |
|||
) |
def click._compat.is_ascii_encoding | ( | encoding | ) |
Checks if a given encoding is ascii.
def is_bytes | ( | x | ) |
def click._compat.isatty | ( | stream | ) |
def click._compat.isidentifier | ( | x | ) |
def click._compat.open_stream | ( | filename, | |
mode = "r" , |
|||
encoding = None , |
|||
errors = "strict" , |
|||
atomic = False |
|||
) |
def click._compat.raw_input | ( | prompt = "" | ) |
def set_binary_mode | ( | f | ) |
def click._compat.should_strip_ansi | ( | stream = None , |
|
color = None |
|||
) |
def click._compat.strip_ansi | ( | value | ) |
def click._compat.term_len | ( | x | ) |
string APP_ENGINE |
auto_wrap_for_ansi = None |
dictionary binary_streams |
colorama = None |
CYGWIN = sys.platform.startswith("cygwin") |
int DEFAULT_COLUMNS = 80 |
def get_winterm_size = None |
tuple int_types = (int, long) |
def isidentifier = lambda x: x.isidentifier() |
iteritems = lambda x: x.iteritems() |
MSYS2 = sys.platform.startswith("win") and ("GCC" in sys.version) |
int PY2 = 2 |
range_type = xrange |
raw_input = raw_input |
tuple string_types = (str, unicode) |
dictionary text_streams |
text_type = unicode |
string WIN = sys.platform.startswith("win") and not APP_ENGINE and not MSYS2 |