Programming for project managers
This repository contains supporting material for ADGEO paper "Programming as a soft skill for project managers: How to have a computer take over some of your work".
The easiest way to begin to work is to press "launch binder" button above. The environment with a running python kernel and all nessesary libraries will be launched, and you can begin interactive work with Jupyter notebooks in the repository straight away.
In order to work with the Notebooks from this repository locally you have to have a python 3.6 installation as well as several additional packages. The easiest way to install them is to use
Miniconda. Below you can find instructions for Linus/Mac and Windows.
Installation for Linux/Mac
Change mode of the downloaded scrip to executable, e.g.:
chmod +x Miniconda3-latest-MacOSX-x86_64.sh
Run installation process:
At the end the script will offer you to add Miniconda3 install location to the PATH in your
.bashrc/.bash_profile. You should say 'yes'. Please double check that you have something like this in your
# added by Miniconda3 4.3.21 installer export PATH="/Users/koldunovn/miniconda3/bin:$PATH"
If you for whatever strange reason use csh/tcsh, then add to your
setenv PATH /Users/koldunovn/miniconda3/bin:$PATH
Now you can open a new terminal window (sourcing not always works) and try to type:
if as a result you see conda help, then everything is set up properly. The last thing before installing packages is to add
conda config --add channels conda-forge
Now you can install nessesary packages by executing this three lines:
conda install pandas=0.20.3, numpy=1.12.1 matplotlib=2.0.2 seaborn=0.8.1 pip pip install python-docx==0.8.6 pip install openpyxl==2.5.1
To begin working with notebooks execute:
the browser should pop up with jupyter main page. You can navigate to the folder with notebooks from there and open them.
Installation for Windows
First you have to download and install Anaconda python distribution for your system from here. If installation is sucessful, you will be able to work with notebooks from 02 to 07. In order to work with
Basemapsome additional steps are required.
Go to start menu, choose
cmdin order to bring up windows command line.
Anaconda\Scriptsdirectory by executing
conda install pandas=0.20.3, numpy=1.12.1 matplotlib=2.0.2 seaborn=0.8.1 pipand agree with installation
pip install python-docx==0.8.6and agree with installation
pip install openpyxl==2.5.1and agree with installation
Download and run the code
You can download the code by pressing friendly green button at the upper right part of the repository with "clone or download" and select "download ZIP". Unpack the downloaded ZIP file and enter the resulting directory in your terminal. Type:
After some time your browser should start and show the list of the Notebook files (.ipynb) from the repository. If it doesn't, just copy the link that will apear in your terminal to the browser agress box.
Nikolay Koldunov, Luisa Cristini