Differences between revisions 3 and 9 (spanning 6 versions)
Revision 3 as of 2015-02-22 11:06:02
Size: 460
Editor: PieterSmit
Comment:
Revision 9 as of 2019-02-09 09:40:46
Size: 1028
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 10: Line 12:
 * 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 links

Python Virtual Environments

  • Since python 3.5 use pyton to create

       python3 -m venv myproject/
       #activate
       source myproject/bin/activate

...


CategoryDevelopement

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