Python Cheat Sheet
.. raw:: html
<h1 align="center">
<br>
<a href="https://www.pythonsheets.com"><img src="docs/_static/logo.svg" alt="pysheeet" width=200"></a>
</h1>
<p align="center">
<a href="https://github.com/crazyguitar/pysheeet/actions">
<img src="https://github.com/crazyguitar/pysheeet/actions/workflows/pythonpackage.yml/badge.svg" alt="Build Status">
</a>
<a href="https://coveralls.io/github/crazyguitar/pysheeet?branch=master">
<img src="https://coveralls.io/repos/github/crazyguitar/pysheeet/badge.svg?branch=master" alt="Coverage">
</a>
<a href="https://raw.githubusercontent.com/crazyguitar/pysheeet/master/LICENSE">
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License MIT">
</a>
</p>
Pysheeet was created with intention of collecting python code snippets for reducing coding hours and making life easier and faster. Any contributions are welcome. Please feel free to fork and send a pull request to this project.
This part only provides a quick glance at some important features in Python 3.
If you're interested in all of the most important features, please read the
official document, What’s New in Python <https://docs.python.org/3/whatsnew/index.html>
_.
New in Python3 <docs/notes/python-new-py3.rst>
_Code Style <docs/notes/python-code-style.rst>
_From Scratch <docs/notes/python-basic.rst>
_Future <docs/notes/python-future.rst>
_Unicode <docs/notes/python-unicode.rst>
_List <docs/notes/python-list.rst>
_Set <docs/notes/python-set.rst>
_Dictionary <docs/notes/python-dict.rst>
_Heap <docs/notes/python-heap.rst>
_Function <docs/notes/python-func.rst>
_Class <docs/notes/python-object.rst>
_Generator <docs/notes/python-generator.rst>
_Typing <docs/notes/python-typing.rst>
_Time <docs/notes/python-date.rst>
_File <docs/notes/python-io.rst>
_Operating System <docs/notes/python-os.rst>
_Regular expression <docs/notes/python-rexp.rst>
_Socket <docs/notes/python-socket.rst>
_Asyncio <docs/notes/python-asyncio.rst>
_Concurrency <docs/notes/python-concurrency.rst>
_Sqlalchemy <docs/notes/python-sqlalchemy.rst>
_Security <docs/notes/python-security.rst>
_SSH <docs/notes/python-ssh.rst>
_Tests <docs/notes/python-tests.rst>
_C Extensions <docs/notes/python-c-extensions.rst>
_Why does Decorator Need @wraps <docs/appendix/python-decorator.rst>
_A Hitchhikers Guide to Asynchronous Programming <docs/appendix/python-concurrent.rst>
_Asyncio behind the Scenes <docs/appendix/python-asyncio.rst>
_PEP 572 and the walrus operator <docs/appendix/python-walrus.rst>
_Python Interpreter in GNU Debugger <docs/appendix/python-gdb.rst>
_pdf
_
.. _pdf: https://media.readthedocs.org/pdf/pysheeet/latest/pysheeet.pdf
.. code-block:: bash
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ make
$ python app.py
# URL: localhost:5000