Home
last modified time | relevance | path

Searched refs:ArgumentParser (Results 1 – 25 of 686) sorted by relevance

12345678910>>...28

/external/python/cpython3/Doc/library/
Dargparse.rst37 parser = argparse.ArgumentParser(description='Process some integers.')
90 :class:`ArgumentParser` object::
92 >>> parser = argparse.ArgumentParser(description='Process some integers.')
94 The :class:`ArgumentParser` object will hold all the information necessary to
101 Filling an :class:`ArgumentParser` with information about program arguments is
102 done by making calls to the :meth:`~ArgumentParser.add_argument` method.
103 Generally, these calls tell the :class:`ArgumentParser` how to take the strings
105 used when :meth:`~ArgumentParser.parse_args` is called. For example::
113 Later, calling :meth:`~ArgumentParser.parse_args` will return an object with
123 :class:`ArgumentParser` parses arguments through the
[all …]
/external/python/cpython2/Doc/library/
Dargparse.rst36 parser = argparse.ArgumentParser(description='Process some integers.')
89 :class:`ArgumentParser` object::
91 >>> parser = argparse.ArgumentParser(description='Process some integers.')
93 The :class:`ArgumentParser` object will hold all the information necessary to
100 Filling an :class:`ArgumentParser` with information about program arguments is
101 done by making calls to the :meth:`~ArgumentParser.add_argument` method.
102 Generally, these calls tell the :class:`ArgumentParser` how to take the strings
104 used when :meth:`~ArgumentParser.parse_args` is called. For example::
112 Later, calling :meth:`~ArgumentParser.parse_args` will return an object with
122 :class:`ArgumentParser` parses arguments through the
[all …]
/external/libcxx/utils/
Dcat_files.py11 from argparse import ArgumentParser
19 parser = ArgumentParser(
Dsym_extract.py13 from argparse import ArgumentParser
18 parser = ArgumentParser(
Dsym_match.py14 from argparse import ArgumentParser
20 parser = ArgumentParser(
Dsym_diff.py14 from argparse import ArgumentParser
20 parser = ArgumentParser(
Dmerge_archives.py11 from argparse import ArgumentParser
84 parser = ArgumentParser(
/external/deqp/scripts/src_util/
Dcheck_all.py24 from argparse import ArgumentParser
32 parser = ArgumentParser()
Dcheck_whitespace.py24 from argparse import ArgumentParser
54 parser = ArgumentParser()
Dcheck_invalid_types.py26 from argparse import ArgumentParser
83 parser = ArgumentParser()
/external/python/cpython2/Doc/howto/
Dargparse.rst77 parser = argparse.ArgumentParser()
117 parser = argparse.ArgumentParser()
162 parser = argparse.ArgumentParser()
183 parser = argparse.ArgumentParser()
203 parser = argparse.ArgumentParser()
230 parser = argparse.ArgumentParser()
275 parser = argparse.ArgumentParser()
321 parser = argparse.ArgumentParser()
350 parser = argparse.ArgumentParser()
384 parser = argparse.ArgumentParser()
[all …]
/external/python/cpython3/Doc/howto/
Dargparse.rst75 parser = argparse.ArgumentParser()
115 parser = argparse.ArgumentParser()
160 parser = argparse.ArgumentParser()
181 parser = argparse.ArgumentParser()
201 parser = argparse.ArgumentParser()
228 parser = argparse.ArgumentParser()
273 parser = argparse.ArgumentParser()
319 parser = argparse.ArgumentParser()
348 parser = argparse.ArgumentParser()
382 parser = argparse.ArgumentParser()
[all …]
/external/python/cpython3/Doc/includes/
Demail-unpack.py11 from argparse import ArgumentParser
15 parser = ArgumentParser(description="""\
Demail-dir.py10 from argparse import ArgumentParser
17 parser = ArgumentParser(description="""\
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcmd.py6 from argparse import ArgumentParser
24 parser = ArgumentParser("usage: %prog [FILENAME]")
/external/google-benchmark/tools/
Dcompare_bench.py7 from argparse import ArgumentParser
34 parser = ArgumentParser(
/external/libcxx/utils/google-benchmark/tools/
Dcompare_bench.py7 from argparse import ArgumentParser
34 parser = ArgumentParser(
/external/ltp/android/tools/
Dmake_parser.py41 ar_parser = argparse.ArgumentParser()
46 cc_parser = argparse.ArgumentParser()
187 arg_parser = argparse.ArgumentParser(
/external/deqp/scripts/
Dlaunchcontrol_build.py26 from argparse import ArgumentParser
71 parser = ArgumentParser()
/external/skqp/tools/skpbench/
Dskiaperf.py10 from argparse import ArgumentParser
15 __argparse = ArgumentParser(description="""
/external/skia/tools/skpbench/
Dskiaperf.py10 from argparse import ArgumentParser
15 __argparse = ArgumentParser(description="""
/external/tensorflow/tensorflow/python/debug/cli/
Dstepper_cli.py93 ap = argparse.ArgumentParser(
114 ap = argparse.ArgumentParser(
139 ap = argparse.ArgumentParser(
153 ap = argparse.ArgumentParser(
181 ap = argparse.ArgumentParser(
/external/python/cpython2/Lib/test/
Dtest_argparse.py129 class ErrorRaisingArgumentParser(argparse.ArgumentParser):
1641 parser = argparse.ArgumentParser()
1733 parser = argparse.ArgumentParser()
2125 argparse.ArgumentParser,
2131 argparse.ArgumentParser,
2730 parser = argparse.ArgumentParser()
2846 parser = argparse.ArgumentParser(
4091 parser = argparse.ArgumentParser()
4096 parser = argparse.ArgumentParser()
4123 parser = argparse.ArgumentParser()
[all …]
/external/python/cpython3/Lib/test/
Dtest_argparse.py115 class ErrorRaisingArgumentParser(argparse.ArgumentParser):
1683 parser = argparse.ArgumentParser()
1775 parser = argparse.ArgumentParser()
2227 argparse.ArgumentParser,
2233 argparse.ArgumentParser,
2832 parser = argparse.ArgumentParser()
2946 parser = argparse.ArgumentParser(
4215 parser = argparse.ArgumentParser()
4220 parser = argparse.ArgumentParser()
4247 parser = argparse.ArgumentParser()
[all …]
/external/python/cpython3/Lib/unittest/
Dmain.py155 parser = argparse.ArgumentParser(add_help=False)
185 parser = argparse.ArgumentParser(parents=[parent])
196 parser = argparse.ArgumentParser(parents=[parent])

12345678910>>...28