From b1408481b79880df2810f2ad9a6ef2e74fd2b83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 26 Feb 2019 00:34:41 +0100 Subject: [PATCH] Libraries --- README.md | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 75c9080..5bf11b8 100644 --- a/README.md +++ b/README.md @@ -1624,9 +1624,6 @@ Progress Bar ```python # $ pip3 install tqdm from tqdm import tqdm -``` - -```python from time import sleep for i in tqdm([1, 2, 3]): sleep(0.2) @@ -1640,9 +1637,6 @@ Plot ```python # $ pip3 install matplotlib from matplotlib import pyplot -``` - -```python pyplot.plot( [, , ...]) pyplot.savefig(, transparent=True) pyplot.show() @@ -1651,13 +1645,10 @@ pyplot.show() Table ----- +#### Prints CSV file as ASCII table: ```python # $ pip3 install tabulate from tabulate import tabulate -``` - -#### Prints CSV file as ASCII table: -```python import csv with open(, encoding='utf-8') as file: lines = csv.reader(file, delimiter=';') @@ -1672,9 +1663,7 @@ Curses ```python # $ pip3 install curses from curses import wrapper -``` -```python def main(): wrapper(draw)