Git Product home page Git Product logo

rubrica's Introduction

Rubrica

Questa semplice applicazione si occupa di gestire una rubrica telefonica tramite linea di comando. L'applicazione è stata implementata come esercitazione nell'ambito del corso coding4math, facente parte del Programma Operativo Nazionale (PON) 2014-2020. L'intera documentazione del corso è reperibile al seguente link: docs.


Istruzioni per l'uso

Scaricare l'archivio dal link di download, e poi estrarlo. Avremo allora il seguente file system relativo al repository scaricato:

Download
|__rubrica-master
   |__rubrica-master
      |__src
         |__.DS_Store
         |__crud.py
         |__main.py
         |__rubrica.json
         |__rubrica.py
         |__validazione.py

A questo punto, aprire il terminal (su MacOS) o il command prompt (su Windows) e recarsi presso la cartella src. Assicurandosi di avere installato sul dispositivo l'interprete Python 3, potrete stampare la rubrica mediante il comando:

src > python main.py stampa

Per aggiungere un contatto utilizzare la sintassi

src > python main.py aggiungi cognome nome cellulare

Per modificare un contatto:

src > python main.py modifica cognome nome cellulare nuovo_cognome nuovo_nome nuovo_cellulare

Per eliminare un contatto:

src > python main.py elimina cognome nome cellulare

Per ordinare l'elenco dei contatti:

src > python main.py ordina

Per eliminare tutti i contatti:

src > python main.py resetta

rubrica's People

Contributors

cubocicloide avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.