{"id":11641,"date":"2020-03-28T18:19:52","date_gmt":"2020-03-28T17:19:52","guid":{"rendered":"http:\/\/www.valcon.it\/python\/?p=11641"},"modified":"2022-07-25T12:36:18","modified_gmt":"2022-07-25T10:36:18","slug":"un-giorno-alle-prese-con-idle","status":"publish","type":"post","link":"https:\/\/www.valcon.it\/python\/un-giorno-alle-prese-con-idle\/","title":{"rendered":"Un giorno alle prese con IDLE"},"content":{"rendered":"<p>Comincia a utilizzare entrambe le finestre con il tutorial<\/p>\n<blockquote><p><strong>Un giorno alle prese con IDLE<\/strong><\/p>\n<p>Un breve tutorial per rompere il ghiaccio con l&#8217;ambiente di sviluppo IDLE<br \/>\n<a href=\"https:\/\/hkn.eecs.berkeley.edu\/~dyoo\/python\/idle_intro\/OneDayOfIdleToying_Italian.html\">https:\/\/hkn.eecs.berkeley.edu\/~dyoo\/python\/idle_intro\/OneDayOfIdleToying_Italian.html<\/a><\/p><\/blockquote>\n<hr \/>\n<p>Comincia scrivendo dopo il prompt<\/p>\n<pre class=\"\">&gt;&gt; print(\"Ciao mondo!\")\r\n<\/pre>\n<p>e alla fine della riga premi INVIO.<\/p>\n<p>Ottieni<\/p>\n<p style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-63 size-full alignnone\" src=\"http:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-1.png\" alt=\"one-day-1\" width=\"685\" height=\"130\" srcset=\"https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-1.png 685w, https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-1-300x57.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/p>\n<hr \/>\n<p>Continua con il codice<\/p>\n<pre class=\"\">print(\"Ecco i numeri da 1 a 9\")\r\nfor i in range(10):\r\n    print(i)<\/pre>\n<p>Ottieni<\/p>\n<p style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-120 size-full alignnone\" src=\"http:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-21.png\" alt=\"one-day-2\" width=\"685\" height=\"353\" srcset=\"https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-21.png 685w, https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-21-300x155.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/p>\n<hr \/>\n<p>Adesso passa all&#8217;editor con <strong>Control-N<\/strong> oppure con la voce di menu <strong>File<\/strong> &gt; <strong>New<\/strong> e inserisci il codice seguente<\/p>\n<p style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-122 alignnone\" src=\"http:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-3.png\" alt=\"one-day-3\" width=\"685\" height=\"163\" srcset=\"https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-3.png 685w, https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-3-300x71.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/p>\n<p>Passa all&#8217;esecuzione del codice con <strong>F5<\/strong> oppure con la voce di menu <strong>Run<\/strong> &gt; <strong>Run Module<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-123 alignnone\" src=\"http:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-3-2.png\" alt=\"one-day-3-2\" width=\"685\" height=\"324\" srcset=\"https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-3-2.png 685w, https:\/\/www.valcon.it\/python\/wp-content\/uploads\/2015\/06\/one-day-3-2-300x142.png 300w\" sizes=\"(max-width: 685px) 100vw, 685px\" \/><\/p>\n<p>Prima dell&#8217;esecuzione ti verr\u00e0 chiesto di salvare il codice in un file con estensione <strong>.py<\/strong> &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comincia a utilizzare entrambe le finestre con il tutorial Un giorno alle prese con IDLE Un breve tutorial per rompere il ghiaccio con l&#8217;ambiente di sviluppo IDLE https:\/\/hkn.eecs.berkeley.edu\/~dyoo\/python\/idle_intro\/OneDayOfIdleToying_Italian.html Comincia scrivendo dopo il prompt &gt;&gt; print(&#8220;Ciao mondo!&#8221;) e alla fine della riga premi INVIO. Ottieni Continua con il codice print(&#8220;Ecco i numeri da 1 a 9&#8221;) &#8230; <a title=\"Un giorno alle prese con IDLE\" class=\"read-more\" href=\"https:\/\/www.valcon.it\/python\/un-giorno-alle-prese-con-idle\/\" aria-label=\"Leggi di pi\u00f9 su Un giorno alle prese con IDLE\">Leggi tutto<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[],"_links":{"self":[{"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/posts\/11641"}],"collection":[{"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/comments?post=11641"}],"version-history":[{"count":3,"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/posts\/11641\/revisions"}],"predecessor-version":[{"id":11648,"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/posts\/11641\/revisions\/11648"}],"wp:attachment":[{"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/media?parent=11641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/categories?post=11641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.valcon.it\/python\/wp-json\/wp\/v2\/tags?post=11641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}