Python Archivi | PiCockpit https://picockpit.com/raspberry-pi/it/categoria/pitone/ Sat, 25 Nov 2023 20:40:52 +0000 it-IT orario 1 https://wordpress.org/?v=7.1.3 https://picockpit.com/raspberry-pi/wp-content/uploads/2024/07/cropped-new-plane-32x32.png Python Archivi | PiCockpit https://picockpit.com/raspberry-pi/it/categoria/pitone/ 32 32 Python Dispatch: Rendere il GIL opzionale https://picockpit.com/raspberry-pi/it/python-dispatch-rendere-il-gil-opzionale/ https://picockpit.com/raspberry-pi/it/python-dispatch-rendere-il-gil-opzionale/#respond Tue, 01 Aug 2023 11:35:37 +0000 https://picockpit.com/raspberry-pi/?p=4508 Il Consiglio direttivo ha fatto un grande annuncio sul futuro di Python. In particolare, ha deciso di rendere facoltativo il Global Interpreter Lock (GIL) in CPython e di eliminarlo del tutto. Si tratta di una decisione importante che modificherà radicalmente Python. Per questo motivo, in questo post, spiegherò cos'è il GIL, il suo...

The post Python Dispatch: Making the GIL Optional appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/python-dispatch-rendere-il-gil-opzionale/feed/ 0
Qual è la differenza tra CPython, MicroPython e CircuitPython? https://picockpit.com/raspberry-pi/it/qual-e-la-differenza-tra-micropython-circuitpython-cpython-anyway/ https://picockpit.com/raspberry-pi/it/qual-e-la-differenza-tra-micropython-circuitpython-cpython-anyway/#respond Tue, 18 Jul 2023 09:18:54 +0000 https://picockpit.com/raspberry-pi/?p=4076 CPython, MicroPython e CircuitPython occupano un posto importante nel cuore di molti smanettoni. Ma non è sempre chiaro quali siano le differenze. E se vi state cimentando per la prima volta con i microcontrollori, queste distinzioni possono giocare un ruolo fondamentale nel capire cosa succede al vostro codice. Per questo motivo, in questo articolo...

The post What’s the difference between CPython, MicroPython, & CircuitPython anyway? appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/qual-e-la-differenza-tra-micropython-circuitpython-cpython-anyway/feed/ 0
9 Trucchi con la REPL di Python https://picockpit.com/raspberry-pi/it/9-trucchi-con-la-replica-di-python/ https://picockpit.com/raspberry-pi/it/9-trucchi-con-la-replica-di-python/#respond Tue, 11 Jul 2023 12:27:49 +0000 https://picockpit.com/raspberry-pi/?p=4092 Naturalmente, il Pi in Raspberry Pi deriva da Python, uno dei linguaggi di programmazione più diffusi al mondo e particolarmente popolare tra i tinker e i maker. In questo post, voglio darvi 9 trucchi e suggerimenti per l'utilizzo di Python REPL - ma non preoccupatevi se non avete molta familiarità con Python o...

The post 9 Tricks with the Python REPL appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/9-trucchi-con-la-replica-di-python/feed/ 0
Quale linguaggio di programmazione utilizzare per un Raspberry Pi? https://picockpit.com/raspberry-pi/it/quale-linguaggio-di-programmazione-si-dovrebbe-usare-con-il-raspberry-pi/ https://picockpit.com/raspberry-pi/it/quale-linguaggio-di-programmazione-si-dovrebbe-usare-con-il-raspberry-pi/#comments Thu, 13 Oct 2022 18:07:26 +0000 https://picockpit.com/raspberry-pi/?p=3113 Se siete alle prime armi con il Raspberry Pi, potreste trovarvi di fronte al bivio della scelta del linguaggio di programmazione da imparare. Ci sono tantissimi linguaggi in circolazione e quello che decidete di imparare avrà un effetto profondo su ciò che potete fare. Diamo quindi un'occhiata ai linguaggi che si possono...

The post Which programming language should you use for a Raspberry Pi? appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/quale-linguaggio-di-programmazione-si-dovrebbe-usare-con-il-raspberry-pi/feed/ 4
CircuitPython, Adafruit Feather RP2040 e I2C https://picockpit.com/raspberry-pi/it/circuitpython-adafruit-feather-rp2040-e-i2c/ https://picockpit.com/raspberry-pi/it/circuitpython-adafruit-feather-rp2040-e-i2c/#comments Tue, 23 Nov 2021 19:23:31 +0000 https://picockpit.com/raspberry-pi/?p=1207 Come probabilmente avrete intuito dal titolo, questo articolo parla di CircuitPython, dell'Adafruit Feather RP2040 e del protocollo di comunicazione I2C. L'RP2040 dispone di due controller I2C, utili ad esempio per gestire due dispositivi I2C con lo stesso indirizzo I2C. Nella mia configurazione di prova, ho una scheda microcontrollore Adafruit Feather RP2040,...

The post CircuitPython, Adafruit Feather RP2040, and I2C appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/circuitpython-adafruit-feather-rp2040-e-i2c/feed/ 3
Estensione C per MicroPython su Raspberry Pi Pico https://picockpit.com/raspberry-pi/it/c-extension-for-micropython-on-raspberry-pi-pico/ https://picockpit.com/raspberry-pi/it/c-extension-for-micropython-on-raspberry-pi-pico/#comments Thu, 08 Apr 2021 14:26:05 +0000 https://picockpit.com/raspberry-pi/?p=774 Questa è una guida su come scrivere ed eseguire un'estensione C di base per MicroPython su Raspberry Pi Pico. Verranno illustrate le ragioni per estendere MicroPython, come scrivere il modulo di estensione, come compilarlo e come installarlo sul Pico. Se volete saperne di più su questo argomento,...

The post C extension for MicroPython on Raspberry Pi Pico appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/c-extension-for-micropython-on-raspberry-pi-pico/feed/ 8
Raspberry Pi Pico e MicroPython su Windows https://picockpit.com/raspberry-pi/it/raspberry-pi-pico-e-micropython-su-windows/ https://picockpit.com/raspberry-pi/it/raspberry-pi-pico-e-micropython-su-windows/#comments Sat, 30 Jan 2021 15:11:05 +0000 https://picockpit.com/raspberry-pi/?p=623 Questo articolo risponde alla domanda: Come si usa Raspberry Pi Pico con MicroPython su Windows? Mostriamo anche come installare il driver giusto per "Board CDC" (che il Pico apparirà come una volta installato MicroPython) su Windows 8.1. (Discuteremo anche le differenze tra MicroPython e CircuitPython, dove applicabile). (Discuteremo anche le differenze tra MicroPython e CircuitPython, ove applicabile)...

The post Raspberry Pi Pico and MicroPython on Windows appeared first on PiCockpit.

]]>
https://picockpit.com/raspberry-pi/it/raspberry-pi-pico-e-micropython-su-windows/feed/ 10