Browse Source

CSV

pull/46/head
Jure Šorn 4 years ago
parent
commit
d1034fceaf
3 changed files with 18 additions and 18 deletions
  1. 16
      README.md
  2. 16
      index.html
  3. 4
      web/script_2.js

16
README.md

@ -1772,15 +1772,15 @@ import csv
### Dialects ### Dialects
```text ```text
+------------------+--------------+--------------+--------------+ +------------------+--------------+--------------+--------------+
| | excel | excel_tab | unix_dialect |
| | excel | excel-tab | unix |
+------------------+--------------+--------------+--------------+ +------------------+--------------+--------------+--------------+
| delimiter | ',' | '\t' | ',' |
| quotechar | '"' | '"' | '"' |
| doublequote | True | True | True |
| skipinitialspace | False | False | False |
| lineterminator | '\r\n' | '\r\n' | '\n' |
| quoting | 0 | 0 | 1 |
| escapechar | None | None | None |
| delimiter | ',' | '\t' | ',' |
| quotechar | '"' | '"' | '"' |
| doublequote | True | True | True |
| skipinitialspace | False | False | False |
| lineterminator | '\r\n' | '\r\n' | '\n' |
| quoting | 0 | 0 | 1 |
| escapechar | None | None | None |
+------------------+--------------+--------------+--------------+ +------------------+--------------+--------------+--------------+
``` ```

16
index.html

@ -1587,15 +1587,15 @@ shutil.rmtree(&lt;path&gt;) <span class="hljs-comment"># Deletes t
<li><strong><code class="python hljs"><span class="hljs-string">'quoting'</span></code> - Controls the amount of quoting: 0 - as necessary, 1 - all.</strong></li> <li><strong><code class="python hljs"><span class="hljs-string">'quoting'</span></code> - Controls the amount of quoting: 0 - as necessary, 1 - all.</strong></li>
<li><strong><code class="python hljs"><span class="hljs-string">'escapechar'</span></code> - Character for escaping 'quotechar' if 'doublequote' is false.</strong></li> <li><strong><code class="python hljs"><span class="hljs-string">'escapechar'</span></code> - Character for escaping 'quotechar' if 'doublequote' is false.</strong></li>
</ul><div><h3 id="dialects">Dialects</h3><pre><code class="text language-text">+------------------+--------------+--------------+--------------+ </ul><div><h3 id="dialects">Dialects</h3><pre><code class="text language-text">+------------------+--------------+--------------+--------------+
| | excel | excel_tab | unix_dialect |
| | excel | excel-tab | unix |
+------------------+--------------+--------------+--------------+ +------------------+--------------+--------------+--------------+
| delimiter | ',' | '\t' | ',' |
| quotechar | '"' | '"' | '"' |
| doublequote | True | True | True |
| skipinitialspace | False | False | False |
| lineterminator | '\r\n' | '\r\n' | '\n' |
| quoting | 0 | 0 | 1 |
| escapechar | None | None | None |
| delimiter | ',' | '\t' | ',' |
| quotechar | '"' | '"' | '"' |
| doublequote | True | True | True |
| skipinitialspace | False | False | False |
| lineterminator | '\r\n' | '\r\n' | '\n' |
| quoting | 0 | 0 | 1 |
| escapechar | None | None | None |
+------------------+--------------+--------------+--------------+ +------------------+--------------+--------------+--------------+
</code></pre></div></div> </code></pre></div></div>

4
web/script_2.js

@ -188,12 +188,12 @@ const DIAGRAM_8_B =
const DIAGRAM_9_A = const DIAGRAM_9_A =
'+------------------+--------------+--------------+--------------+\n' + '+------------------+--------------+--------------+--------------+\n' +
'| | excel | excel_tab | unix_dialect |\n' +
'| | excel | excel-tab | unix |\n' +
'+------------------+--------------+--------------+--------------+\n'; '+------------------+--------------+--------------+--------------+\n';
const DIAGRAM_9_B = const DIAGRAM_9_B =
"┏━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━┓\n" + "┏━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━┓\n" +
"┃ │ excel │ excel_tab │ unix_dialect ┃\n" +
"┃ │ excel │ excel-tab │ unix ┃\n" +
"┠──────────────────┼──────────────┼──────────────┼──────────────┨\n" + "┠──────────────────┼──────────────┼──────────────┼──────────────┨\n" +
"┃ delimiter │ ',' │ '\\t' │ ',' ┃\n" + "┃ delimiter │ ',' │ '\\t' │ ',' ┃\n" +
"┃ quotechar │ '\"' │ '\"' │ '\"' ┃\n" + "┃ quotechar │ '\"' │ '\"' │ '\"' ┃\n" +

Loading…
Cancel
Save