Outils pour utilisateurs

Outils du site


jupyter

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Dernière révisionLes deux révisions suivantes
jupyter [2020/03/26 12:38] – [Premier NoteBook] sergejupyter [2020/03/26 12:42] – [Premier NoteBook] serge
Ligne 49: Ligne 49:
 {{:media_10:hello.ipynb.zip|hello.ipynb.zip}} {{:media_10:hello.ipynb.zip|hello.ipynb.zip}}
  
 +Le fichier *.ipynb converti en python
 +<code python hello.py>
 +#!/usr/bin/env python
 +# coding: utf-8
 +
 +# # Hello World
 +
 +# Affichage de "Bonjour La Labomedia"
 +
 +# Maj + Entrée ou clic sur Run
 +
 +# In[1]:
 +
 +print('Bonjour La Labomedia')
 +
 +# In[2]:
 +
 +for i in range(0, 2):
 +    print("Hi!")
 +
 +# In[4]:
 +
 +for i in range(5, 10):
 +    print("Hi!"),
 +</code>
  
 Après Exécution sur chaque bloc Après Exécution sur chaque bloc
jupyter.txt · Dernière modification : 2020/03/26 12:45 de serge