-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstallation.html
More file actions
132 lines (113 loc) · 6.71 KB
/
installation.html
File metadata and controls
132 lines (113 loc) · 6.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="fr">
<!-- Meta-données -->
<head>
<meta charset="utf-8">
<title>Installation - Cours - PythonMasterClass</title>
<link rel="icon" type="image/png" sizes="32x32" href="./images/icons/icon.png">
<link href="css/styles.css" rel="stylesheet" type="text/css">
<!-- Police du h1 -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@700&display=swap" rel="stylesheet">
<!-- CodeMirror -->
<link rel="stylesheet" href="plugin/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="plugin/codemirror/theme/monokai.css">
<script src="plugin/codemirror/lib/codemirror.js"></script>
<script src="plugin/codemirror/mode/python/python.js"></script>
</head>
<!-- Corps de la page -->
<body>
<!-- Haut de page -->
<header>
<!-- Logo -->
<a href="breviaire.html"><img src="images/logos/logo.png" alt="PythonMasterClass"></a>
<!-- Barre de navigation -->
<nav>
<a href="index.html">Accueil</a>
<a href="introduction.html" id="selected">Cours</a>
<a href="breviaire.html">Bréviaire</a>
<a href="contact.html">Contact</a>
</nav>
</header>
<!-- Contenue de la page -->
<main>
<section>
<div id="toph1"><h1>Installation</h1></div>
<div id="sommaire">
<nav>
<span>Sommaire</span>
<a href="introduction.html">Introduction</a>
<a href="installation.html">Installation</a>
<a href="erreurs.html">Erreurs</a>
<a href="variables.html">Variables</a>
<a href="booleans.html">Booleans</a>
<a href="conditions.html">Conditions</a>
<a href="boucle_while.html">Boucle While</a>
<a href="boucle_for.html">Boucle for</a>
<a href="list_et_tuple.html">List et tuple</a>
<a href="dictionnaires.html">Dictionnaires</a>
<a href="fonctions.html">Fonctions</a>
<a href="lambda.html">Lambda</a>
<a href="itinerables.html">Itinérables</a>
<a href="yield.html">Yield</a>
<a href="modularite.html">Modularité</a>
<a href="class.html">Class</a>
<a href="methodes.html">Méthodes</a>
</nav>
</div>
<div id="with-sommaire">
<article>
<h2>Installation sur votre machine</h2>
<p>
Pour pouvoir utiliser python , il faut faire en sorte qu’il soit reconnu par votre ordinateur.
</p>
<h2>Pour Windows </h2>
<p>
La compréhension du langage ne fait pas partie des capacités de base d’un ordinateur sous Windows . Il vous faut donc aller sur le site de <a href="https://www.python.org/downloads"> python</a> et ensuite d’installer la version de python qui vous convient : la version 2.7.10 si vous voulez travailler sur des anciens programme qui ne seraient pas pris en compte par la dernière version sortie, sinon optez pour la dernière sortie.
</p>
<figure>
<img src="images/Installation/dl_python.png" alt="Capture du site python pour le téléchargement">
</figure>
<p>
Ensuite exécutez le programme téléchargé tout en n’oubliant de cocher pour ajouter Python au PATH, ce qui vous permettra d’exécuter du python depuis l’invite de commandes.
Ouvrez ensuite l’environnement de développement que vous voulez (vous pouvez utilisé IDLE livré avec Python) ce qui pourra vous permettre de faire, tester et déboguer vos scripts.
Vous êtes fin prêts pour apprendre ce langage !!
</p>
</article>
<article>
<h2>Pour Linux </h2>
<p>
La majorité des distributions Linux incluent python. Pour pouvoir en connaître la version, ouvrez votre terminal et entrez « python ». En fonction de votre distribution :
</br> Ubuntu → tapez « sudo apt-get install python »
</br>Red Hat et Fedora → « sudo yum install python »
</br>Arch Linux → connectez vous en tant qu’admin et ensuite entrez « pacman -S python »
<p></p>
Une fois cela fini, à vous et votre environnement de développement de jouer !
</p>
</article>
</div>
<div id="bottombuttons">
<a id="goprev" class="botbutton" href="introduction.html">Introduction</a>
<a id="gotop" class="botbutton" href="#top">Retour en haut</a>
<a id="gonext" class="botbutton" href="erreurs.html">Erreurs</a>
</div>
</section>
</main>
<!-- Pied de page -->
<footer>
<!-- Copyright -->
<p><img src="images/icons/bugs.png" alt="Bug"> All rights reserved - PythonMasterClass 2020 <img src="images/icons/bugs.png" alt="Bug"></p>
<!-- Réseaux -->
<address>
<p>Réseaux :</p>
<a href="https://discord.com" target="_blank"><img id=discord src="images/logos/discord.png" alt="Discord"></a>
<a href="https://fr.linkedin.com" target="_blank"><img src="images/logos/linkedin.png" alt="Linkedin"></a>
<a href="https://www.instagram.com" target="_blank"><img src="images/logos/instagram.png" alt="Instagram"></a>
<a href="https://www.youtube.com" id=youtube target="_blank"><img src="images/logos/youtube.png" alt="Youtube"></a>
<a href="https://twitter.com" target="_blank"><img src="images/logos/twitter.png" alt="Twitter"></a>
</address>
</footer>
<!-- Script de configuration du code -->
<script src="js/codemirror.js"></script>
</body>
</html>