From 5565093103eb57a74479e5d8343d37b4e93fdab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 27 Apr 2018 16:44:00 +0200 Subject: [PATCH] Libraries --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 640e198..58689d3 100644 --- a/README.md +++ b/README.md @@ -776,7 +776,7 @@ Libraries Plot ---- ```python -# pip3 install matplotlib +# $ pip3 install matplotlib from matplotlib import pyplot pyplot.plot( [, ]) pyplot.show() @@ -786,7 +786,7 @@ pyplot.savefig(filename) Web --- ```python -# pip3 install bottle +# $ pip3 install bottle import bottle import urllib ``` @@ -833,7 +833,7 @@ def p_handler(sport): Curses ------ ```python -# pip3 install curses +# $ pip3 install curses import curses def main(): @@ -875,7 +875,7 @@ timeit('"-".join(str(n) for n in range(100))', number=1000000) #### Generates a PNG image of call graph and highlights the bottlenecks: ```python -# pip3 install pycallgraph +# $ pip3 install pycallgraph import pycallgraph graph = pycallgraph.output.GraphvizOutput() graph.output_file = get_filename() @@ -949,7 +949,7 @@ for i in Bar.range(100): #### Progress: ```python -# pip3 install progress +# $ pip3 install progress from progress.bar import Bar from time import sleep STEPS = 100