/loggingdemo

Python `logging` demo for BrisPy (Sept 2019)

Primary LanguageJupyter NotebookThe UnlicenseUnlicense

Logging

Some logging examples

Setup

Get the source code

cd C:\
git clone https://github.com/ErinKenna/loggingdemo.git

Setup a conda env, activate it and install requirements

Windows example

Start an Anaconda prompt
(base) C:> cd loggingdemo
(base) C:\loggingdemo> where python
C:\tools\Anaconda3\python.exe
C:\Python36\python.exe

(base) C:\loggingdemo> python --version
Python 3.7.3

(base) C:\loggingdemo> conda create -n loggingdemo
(base) C:\loggingdemo> conda activate loggingdemo
(loggingdemo) C:\loggingdemo> where python
C:\tools\Anaconda3\envs\loggingdemo\python.exe
C:\Python36\python.exe

(loggingdemo) C:\loggingdemo> conda install jupyter pyyaml
(loggingdemo) C:\loggingdemo> jupyter notebook

Usage

References