OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | best (cls) |
def | from_param (cls, param) |
def | from_environment (cls) |
def | from_string (cls, string) |
def | install_options (self, script_text) |
def | as_header (self) |
Static Public Attributes | |
options | |
split_args | |
A command spec for a #! header, specified as a list of arguments akin to those passed to Popen.
def as_header | ( | self | ) |
def best | ( | cls | ) |
Choose the best CommandSpec class based on environmental conditions.
def from_environment | ( | cls | ) |
def from_param | ( | cls, | |
param | |||
) |
Construct a CommandSpec from a parameter to build_scripts, which may be None.
def from_string | ( | cls, | |
string | |||
) |
Construct a command spec from a simple string representing a command line parseable by shlex.split.
def install_options | ( | self, | |
script_text | |||
) |
|
static |
|
static |