From 59ac0ad18d83097fad5d92236c3795123d5f633f Mon Sep 17 00:00:00 2001 From: Frank Sauerburger <frank@sauerburger.com> Date: Tue, 22 Aug 2017 16:45:15 +0200 Subject: [PATCH] Add instructions for Windows Add instructions for Windows users. Anaconda seems to be a good solution. Additionally add links to jupyter and feedback address. --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 748d5e6..143a423 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,10 @@ This repository consists of a collection of python examples intended as an introduction on the usage of python in data analysis, especially for the advanced laboratories in physics at the University of Freiburg. In previous years code examples for [ROOT](https://root.cern.ch/) have been provided. -Material showing how to use python for the same task was missing. +Material showing how to use python for the same task was missing. + +If you think this tutorial is useful, lacks important information, or is +unclear, don't hesitate to give [feedback](mailto:frank@sauerburger.com). # Table of Contents 1. [Installation](#installation) @@ -18,7 +21,10 @@ Material showing how to use python for the same task was missing. To get started with python for data analysis in the advanced laboratories you need the python interpreter. In this document we will use `python3`. The additional packages `numpy`, `scipy` and `matplotlib` are useful for data -analysis and data presentation. To install all the packages on Ubuntu, you +analysis and data presentation. + +## Ubuntu +To install all the packages on Ubuntu, you can run the following commands. <!-- console --> @@ -31,7 +37,12 @@ $ pip3 install --user numpy scipy matplotlib The `--user` argument for `pip` installs the python package in your home directory, which hides potentially older packages installed with `apt-get`. -# Prerequisites and Structure +## Windows +Since I'm not using python on Windows myself, I don't have first-hand experiance +with it. However I think [Anaconda](https://www.continuum.io/downloads) is a +good solution for windows users, which provides all required packages. + +# Prerequisites and About the Tutorial This tutorial assumes that you have some experience with python, which includes variable assignment, function calling and function definition, if statements and @@ -49,7 +60,7 @@ other. The examples show code snippets which you are supposed to copy to a text editor. The scripts can then be executed in a terminal. Besides this modus operandi, you are invited to use the interactive mode of python or ipython instead and copying the code directly -to the python interpreter. Recently jupyter notebooks have been +to the python interpreter. Recently [jupyter](http://jupyter.org/) notebooks have been become very popular. I recommend you to try out these different platforms and choose the one most suited for you. -- GitLab