Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (37 loc) · 2 KB

WINDOWS.md

File metadata and controls

59 lines (37 loc) · 2 KB

Setup instructions

Les instructions suivantes vont vous permettre d'avoir tous les outils nécessaires pour suivre la formation Le Wagon :

Lewagon-logo

Canopy

canopy-logo

Téléchargez Canopy

Canopy vous permet d'installer Python et plusieurs librairies que nous allons utiliser (Pandas, ...).

Pour vérifier si Canopy a bien été installé, vous pouvez ouvrir votre ligne de commande (Cliquez sur Démarrer -> Éxecuter puis tapez cmd) :

C:\Users\YourName>python

Python 2.7.3 |EPD_free 7.3-1 (32-bit)| (default, Apr 12 2012, 14:30:37) on win32 Type "credits", "demo" or "enthought" for more information.
>>>

Vérifions notre installation

Nous pouvons maintenant vérifier que pandas a aussi bien été installé par les commandes suivantes.

C:\Users\YourName>ipython --pylab
Python 2.7.3 |EPD_free 7.3-1 (32-bit)|
Type "copyright", "credits" or "license" for more information.
IPython 0.12.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features. %quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

Welcome to pylab, a matplotlib-based Python environment [backend: WXAgg]. For more information, type 'help(pylab)'.

In [1]: import pandas

In [2]: plot(arange(10))

Si tout fonctionne bien, vous devriez voir un beau graphique apparaitre.

resultat_final

Lors de cette semaine, nous allons travailler avec iPython notebook.

Une fois que vous avez cloné ou téléchargé le programme de la semaine essayer d'y accéder en tapant la commande suivante :

C:\Users\YourName> cd C:\chemin\vers\le\dossier\data-kit
C:\Users\YourName> ipython notebook

Cela devrait ouvrir votre navigateur vers l'URL http://localhost:8888/tree.

Congrats!