Python Register Classes


python --- 05/10/2020

Python Register Classes


Continue reading

Jupyter virtualenv setup


Python --- 10/07/2019

Setup

  1. Install Anaconda for Python 3.7 for your operating system: Anaconda
  2. Create a directory/folder for data science and move into it.
  3. Download environment.yml
  4. Execute conda env create -f environment.yml
  5. You now have all the libraries listed in environment.yml
  6. Set up Jupyter notebook to use this …

Continue reading

Closure and Decorators


Python --- 10/06/2019

Study note from pluralsight


Continue reading

Python Foundation


Python --- 09/08/2019

What is Bytes? immutable sequences of bytes
b'data'
to convert between string and bytes, we must know the encoding of the byte sequence used to represent Unicode string Example:
data = "ABCD"
encodedData = data.encode('utf-8')
decodedData = encodedData.decode('utf-8')
Files, network resources, and HTTP responses are transmitted as **byte …

Continue reading