diff --git a/LIBRARIES.md b/LIBRARIES.md deleted file mode 100644 index 3b761ab..0000000 --- a/LIBRARIES.md +++ /dev/null @@ -1,63 +0,0 @@ -Libraries -========= - - -Plot ----- -``` -import matplotlib -matplotlib.pyplot.plot(, ...) -matplotlib.pyplot.show() -matplotlib.pyplot.savefig() -``` - - -Web ---- -``` -import bottle -``` - -### Run -``` -bottle.run(host='localhost', port=8080) -bottle.run(host='0.0.0.0', port=80, server='cherypy') -``` - -### Static request - -### Dynamic request - -### REST request - - -Curses ------- -``` -import curses -def main(): - curses.wrapper(draw) -def draw(screen): - screen.clear() - screen.addstr(0, 0, "Press ESC to quit.") - while screen.getch() != 27: - pass -``` - - - -Profile -------- -``` -import timeit -timeit.timeit('"-".join(str(n) for n in range(100))', number=10000) -``` - -``` -import pycallgraph -graph = pycallgraph.output.GraphvizOutput() -graph.output_file = -with pycallgraph.PyCallGraph(output=graph): - -``` -