====== Corso Python I.S. Sanfelice - a.s. 2016/17 ====== ===== Lezione 1 ===== ==== Tematiche affrontate ==== * Interprete / Script * Aritmetica con Python * Le stringhe in Python (parte 1) * print() ==== Software da scaricare ==== * [[https://www.python.org/downloads/|Python]] * [[https://www.geany.org/Download/Releases|Geany]] NB durante l'installazione di Python selezionare l'opzione per aggiungere Python al PATH di sistema! ==== Link vari ==== === Documentazione di riferimento === * [[https://docs.python.org/3/tutorial/index.html|Python 3 - Tutorial ufficiale (EN)]] * [[https://en.wikibooks.org/wiki/Python_Programming|Python programming - Wikibooks (EN)]] === Corsi / Piattaforme interattive === * [[https://www.learnpython.org/|Learn Python (EN)]] * [[https://www.codecademy.com/learn/python|CodeCademy (EN)]] ==== Esercizi / Esempi ==== * {{:pycourse:lez1_src.zip|Codici sorgente della lezione 1}} ===== Lezione 2 ===== ==== Tematiche affrontate ==== * input() * if / elif / else * for * range() * operatori di confronto ==== Operatori di confronto ==== ^Operatori di confronto^^ | uguale | == | | minore | < | | maggiore uguale | >= | | minore uguale | <= | | diverso | != | ==== Link ad altri editor ==== * [[https://docs.python.org/3.6/library/idle.html|IDLE (giĆ  integrato nell'installer di Python)]] * [[https://notepad-plus-plus.org/|Notepad++ (editor general purpose come Geany - solo Windows)]] * [[http://thonny.org/|Thonny (scritto in Python - multipiattaform)]] * [[https://sourceforge.net/projects/pyscripter/|Pyscripter (altro editor per Python - solo Windows)]] * [[https://www.jetbrains.com/pycharm-edu/download/|Pycharm edu (interessante versione education di un editor professionale)]] ==== Esercizi / Esempi ==== * {{:pycourse:lez2_src.zip|Codici sorgente della lezione 2}} ===== Lezione 3 ===== ==== Tematiche affrontate ==== * if/elif/else * while e break * liste e altre [[https://docs.python.org/3.6/tutorial/datastructures.html|strutture dati in Python]] ==== Link vari ==== * [[http://programmer.97things.oreilly.com/wiki/index.php/97_Things_Every_Programmer_Should_Know|97 Things Every Programmer Should Know]] * [[http://redmonk.com/sogrady/2017/03/17/language-rankings-1-17/|The RedMonk Programming Language Rankings: January 2017]] ==== Esercizi / Esempi ==== * {{:pycourse:lez3_src.zip|Codici sorgente della lezione 3}} ===== Lezione 4 ===== ==== Tematiche affrontate ==== * liste - metodi nativi * append * count * sort * reverse * list comprehensions * prima funzione ==== Esercizi / Esempi ==== * {{:pycourse:lez4_src.zip|Codici sorgente della lezione 4}} ===== Lezione 5 ===== ==== Tematiche affrontate ==== * funzioni * creazione di una libreria ==== Esercizi / Esempi ==== * {{:pycourse:lez5_src.zip|Codici sorgente della lezione 5}}