Infrastructure

How To Resolve Refusing to serve hidden directory, via 404 Error with Jupyter notebook.

I hate 404 errors. Whenever I get it, I stare at the screen with disdain because it cannot be fixed most of the time. What cannot be found cannot be found. But, fixing this one is easy! By default, Anaconda serves notebooks from local directory: C:\ in Windows. To resolve …

Infrastructure

How To Install a List of Python Packages From a Text File

Installing all the required Python packages one by one can be time consuming. When you are setting up multiple development environments or creating a virtual environment, you can have a list of Python packages in a text file and install them all together by pip. Steps (1) Create a text …

Infrastructure

Resolving PackageNotFoundError: Packages missing in current channels

If you are using Anaconda as your choice of Python distribution, chances are that you have encountered this error message when you try to install a package with conda install command. There are two ways to fix this issue. Use pip install instead of conda install. Search the package and …

Infrastructure

How To Customize Python Module

One of the greatest things in Python is that it has heaps of cool modules to use. They make programming fun and easy. Here is the example of an amazing salesforce API module. What makes it even better is that these python modules are easy to customise for your need …