Home
last modified time | relevance | path

Searched refs:csvfile (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Doc/library/
Dcsv.rst56 .. function:: reader(csvfile, dialect='excel', **fmtparams)
58 Return a reader object which will iterate over lines in the given *csvfile*.
59 *csvfile* can be any object which supports the :term:`iterator` protocol and returns a
61 <file object>` and list objects are both suitable. If *csvfile* is a file object,
78 >>> with open('eggs.csv', newline='') as csvfile:
79 ... spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
86 .. function:: writer(csvfile, dialect='excel', **fmtparams)
89 strings on the given file-like object. *csvfile* can be any object with a
90 :func:`write` method. If *csvfile* is a file object, it should be opened with
108 with open('eggs.csv', 'w', newline='') as csvfile:
[all …]
/external/python/cpython2/Doc/library/
Dcsv.rst60 .. function:: reader(csvfile, dialect='excel', **fmtparams)
62 Return a reader object which will iterate over lines in the given *csvfile*.
63 *csvfile* can be any object which supports the :term:`iterator` protocol and returns a
65 objects are both suitable. If *csvfile* is a file object, it must be opened
81 >>> with open('eggs.csv', 'rb') as csvfile:
82 ... spamreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
98 .. function:: writer(csvfile, dialect='excel', **fmtparams)
101 strings on the given file-like object. *csvfile* can be any object with a
102 :func:`write` method. If *csvfile* is a file object, it must be opened with the
121 with open('eggs.csv', 'wb') as csvfile:
[all …]
/external/tensorflow/tensorflow/contrib/receptive_field/python/util/examples/
Dcsv_to_markdown_table.py54 with open(cmd_args.csv_path) as csvfile:
55 reader = csv.DictReader(csvfile)
/external/mesa3d/src/intel/isl/
Dgen_format_layout.py173 def reader(csvfile): argument
178 with open(csvfile, 'r') as f:
/external/autotest/site_utils/rpm_control_system/
Dutils.py155 with open(mapping_file) as csvfile:
156 reader = csv.reader(csvfile, delimiter=',')
/external/noto-fonts/emoji-compat/
Dcreatefont.py378 with open(INPUT_META_FILE) as csvfile:
379 reader = csv.reader(csvfile, delimiter=' ')
590 with open(OUTPUT_META_FILE, 'w') as csvfile:
591 csvwriter = csv.writer(csvfile, delimiter=' ')
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py753 with open(filepath) as csvfile:
754 dialect = csv.Sniffer().sniff(csvfile.read())
781 with open(filepath) as csvfile:
782 list_lines = csvfile.readlines()
/external/vulkan-validation-layers/scripts/
Dvk_validation_stats.py544 with open (csv_filename, 'w', newline='') as csvfile:
545 cw = csv.writer(csvfile)