Ciao Python!

Introduzione a Python

Hugo Bowne-Anderson

Data Scientist at DataCamp

Come imparerai

Interfaccia DataCamp

Introduzione a Python

Python

guido-hba.png

  • Scopo generale: costruire qualsiasi cosa

  • Open source! Gratis!

  • Pacchetti Python, anche per la scienza dei dati

    • Tante applicazioni e campi
Introduzione a Python

Shell IPython

Esegui i comandi Python

ipython_shell.png

Introduzione a Python

Shell IPython

Esegui i comandi Python

ipython_shell_highlighted.png

Introduzione a Python

Shell IPython

 

Calcoli nella shell IPython di DataCamp

Introduzione a Python

Script Python

  • File di testo - .py

  • Elenco dei comandi Python

  • Simile alla digitazione nella shell IPython

Script Python in DataCamp

Introduzione a Python

Script Python

GIF: scrivi 4 + 5 nello script e clicca su "Invia risposta". Non viene mostrato niente.

Introduzione a Python

Script Python

python_script_print.gif

  • Usaprint() per creare un output dallo script
Introduzione a Python

Interfaccia DataCamp

Screenshot dell'interfaccia di DataCamp

Introduzione a Python

Passiamo alla pratica!

Introduzione a Python

Preparing Video For Download...