Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2014-08-06 11:57:51
Size: 234
Editor: PieterSmit
Comment: Create new page
Revision 11 as of 2019-05-08 09:36:11
Size: 1258
Editor: PieterSmit
Comment:
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/]]
 * Contextmanager [[https://jeffknupp.com/blog/2016/03/07/python-with-context-managers/|20160307]] add '''__enter__''' and '''__exit__''' to a class or use [[https://docs.python.org/2.7/library/contextlib.html|yield]] in function
Line 7: Line 9:
   * test site https://www.pythonanywhere.com/user/diepes/webapps/#id_diepes_pythonanywhere_com
Line 8: Line 11:
 * 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/,
Line 9: 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]]

 * [[https://github.com/pallets/click/blob/master/README.rst|click]]

PYTHON links

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

...


CategoryDevelopement

Python (last edited 2023-10-10 00:31:07 by PieterSmit)