Giter VIP home page Giter VIP logo

pythonworkshop's Introduction

Getting started

To get started, check-out the git repository with the exercise:

git clone ttps://github.com/ASvyatkovskiy/PythonWorkshop
cd PythonWorkshop

If you do not have git or you do not wish to install it, just download the repository as zip, and unpack it:

wget https://github.com/ASvyatkovskiy/PythonWorkshop/archive/master.zip
#For Mac users:
#curl -O https://github.com/ASvyatkovskiy/PythonWorkshop/archive/master.zip
unzip master.zip

Then change to the the repository folder.

Install Python3

To install Python3 for this course got to: https://www.python.org/downloads/release/python-351/ Scroll down to the "Files" section and select file which best matches your OS. Once finished with the installation, test it by typing:

python3

in the command line, it will open up a Python REPL, printing out the details on the version of Python.

Install Anaconda and pip

Two package managers are going to use for this course: Anaconda and pip3. These package managers are also available on Princeton clusters.

If you have not installed Anaconda yet, please go to this page: https://www.continuum.io/downloads and select the version for Python 3 compatible with your operating system.

Type:

conda --help

to confirm the installation is succesful.

Create isolated Anaconda environment for the course

Once this is installed, create an isolated Anaconda nevironment for today's course, and install ipython notebook in it:

conda create -n PythonWorkshop python=3.5.1 anaconda
source activate PythonWorkshop
conda install --name PythonWorkshop ipython-notebook=4.0.4
conda install --name PythonWorkshop pip

Note: pip3 is a part of the stock install for Python > version 3.4. But we need a different pip - the one from Anaconda to be able to use it inside our isolated environment.

Start the interactive notebook

ipython3 notebook

After the notebook is opened, navigate to the workshop folder and open the 0.Setup.ipynb from the browser window.

pythonworkshop's People

Contributors

asvyatkovskiy avatar

Watchers

Richard West avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.