Home
last modified time | relevance | path

Searched refs:csvfile (Results 1 – 7 of 7) 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/autotest/site_utils/rpm_control_system/
Dutils.py128 with open(mapping_file) as csvfile:
129 reader = csv.reader(csvfile, delimiter=',')
/external/mesa3d/src/intel/isl/
Dgen_format_layout.py191 def reader(csvfile): argument
196 with open(csvfile, 'r') as f:
/external/noto-fonts/emoji-compat/
Dcreatefont.py397 with open(INPUT_META_FILE) as csvfile:
398 reader = csv.reader(csvfile, delimiter=' ')
619 with open(OUTPUT_META_FILE, 'w') as csvfile:
620 csvwriter = csv.writer(csvfile, delimiter=' ')
/external/vulkan-validation-layers/scripts/
Dvk_validation_stats.py525 with open (csv_filename, 'w', newline='') as csvfile:
526 cw = csv.writer(csvfile)
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py1366 with open(filepath) as csvfile:
1367 dialect = csv.Sniffer().sniff(csvfile.read())
1394 with open(filepath) as csvfile:
1395 list_lines = csvfile.readlines()