Python Virtual Environments

python pip python virtual environments kimberlythegeek

Why Should I Use Python Virtual Environments?

It is always recommended to use python virtual environments for all of your projects. But why?

As The Hitchhiker’s Guide to Python says:

A Virtual Environment is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them.

It solves the “Project X depends on version 1.x but, Project Y needs 4.x” dilemma, and keeps your global site-packages directory clean and manageable.

Continue reading “Python Virtual Environments”

AngularJS Wikipedia Search App – Part One

Build a Wikipedia Search App With AngularJS

Part One – Get Output

In the previous post, I showed how to make unauthenticated API requests to the Wikipedia API.

In this tutorial, I’m going to rebuild the Wikipedia Search App using AngularJS.

Here’s what we’re going to start with:

// app.js

  'use strict';

  angular.module('wikipediaApp', [])
  .constant('API_PATH', '')
  .controller('SearchController', SearchController);

  SearchController.$inject = ['$scope', '$http', 'API_PATH'];
  function SearchController($scope, $http, API_PATH){



Continue reading “AngularJS Wikipedia Search App – Part One”