691
Comment:
|
1395
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
* [[SplitSyslogInPython]] | * [[SplitSyslogInPython]] , [[Python/AsyncIo]] * Retry with [[https://julien.danjou.info/python-tenacity/]] |
Line 11: | Line 12: |
* Decorators - http://thecodeship.com/patterns/guide-to-python-function-decorators/, | |
Line 12: | Line 14: |
== Python Virtual Environments == * Since python 3.5 use pyton to create {{{ python3 -m venv myproject/ #activate source myproject/bin/activate }}} == Python libraries == === Python command line === * $ pip install [[https://github.com/kennethreitz/delegator.py/blob/master/README.rst|delegator.py]] * $ pip3 install timeloop [[https://medium.com/greedygame-engineering/an-elegant-way-to-run-periodic-tasks-in-python-61b7c477b679]] * [[https://github.com/pallets/click/blob/master/README.rst|click]] |
PYTHON links
Retry with https://julien.danjou.info/python-tenacity/
Contextmanager 20160307 add enter and exit to a class or use yield in function
Online python environment and hosting that works in your webbrowser with no install. https://www.pythonanywhere.com/
FSM - Clean state machine http://www.talyarkoni.org/blog/2014/10/29/yet-another-python-state-machine-and-why-you-might-care/
Decorators - http://thecodeship.com/patterns/guide-to-python-function-decorators/,
Python Virtual Environments
Since python 3.5 use pyton to create
python3 -m venv myproject/ #activate source myproject/bin/activate
Python libraries
Python command line
$ pip install delegator.py
$ pip3 install timeloop https://medium.com/greedygame-engineering/an-elegant-way-to-run-periodic-tasks-in-python-61b7c477b679
...