Python Archief | PiCockpit https://picockpit.com/raspberry-pi/nl/categorie/python/ Sat, 25 Nov 2023 20:40:52 +0000 nl-NL per uur 1 https://wordpress.org/?v=7.1.3 https://picockpit.com/raspberry-pi/wp-content/uploads/2024/07/cropped-new-plane-32x32.png Python Archief | PiCockpit https://picockpit.com/raspberry-pi/nl/categorie/python/ 32 32 Python Verzending: De GIL optioneel maken https://picockpit.com/raspberry-pi/nl/python-dispatch-maakt-de-gil-optimaal/ https://picockpit.com/raspberry-pi/nl/python-dispatch-maakt-de-gil-optimaal/#respond Tue, 01 Aug 2023 11:35:37 +0000 https://picockpit.com/raspberry-pi/?p=4508 De Steering Council heeft een grote aankondiging gedaan over de toekomst van Python. Ze hebben namelijk besloten om de Global Interpreter Lock (GIL) optioneel te maken in CPython en uiteindelijk de GIL helemaal te verwijderen. Dit is een enorme beslissing die Python fundamenteel zal veranderen. Daarom zal ik in deze post doornemen wat de GIL is, zijn...

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

]]>
https://picockpit.com/raspberry-pi/nl/python-dispatch-maakt-de-gil-optimaal/feed/ 0
Wat is eigenlijk het verschil tussen CPython, MicroPython en CircuitPython? https://picockpit.com/raspberry-pi/nl/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway/ https://picockpit.com/raspberry-pi/nl/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway/#respond Tue, 18 Jul 2023 09:18:54 +0000 https://picockpit.com/raspberry-pi/?p=4076 CPython, MicroPython en CircuitPython hebben een warm plekje in het hart van menig knutselaar. Maar het is niet altijd duidelijk wat de verschillen zijn. En als je voor het eerst rommelt met microcontrollers, kan dit onderscheid een sleutelrol spelen bij het begrijpen van wat er aan de hand is met je code. Dus in dit artikel zal ik...

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

]]>
https://picockpit.com/raspberry-pi/nl/wat-het-verschil-tussen-micropython-circuitpython-cpython-anyway/feed/ 0
9 Trucs met de Python REPL https://picockpit.com/raspberry-pi/nl/9-trucs-met-de-python-repl/ https://picockpit.com/raspberry-pi/nl/9-trucs-met-de-python-repl/#respond Tue, 11 Jul 2023 12:27:49 +0000 https://picockpit.com/raspberry-pi/?p=4092 De Pi in Raspberry Pi komt natuurlijk van Python, een van de populairste programmeertalen ter wereld en vooral populair onder knutselaars en makers. In deze post wil ik je 9 trucs en tips geven met de Python REPL - maar maak je geen zorgen als je niet super bekend bent met Python of...

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

]]>
https://picockpit.com/raspberry-pi/nl/9-trucs-met-de-python-repl/feed/ 0
Welke programmeertaal moet je gebruiken voor een Raspberry Pi? https://picockpit.com/raspberry-pi/nl/welke-programmeertaal-moet-je-gebruiken-met-de-raspberry-pi/ https://picockpit.com/raspberry-pi/nl/welke-programmeertaal-moet-je-gebruiken-met-de-raspberry-pi/#comments Thu, 13 Oct 2022 18:07:26 +0000 https://picockpit.com/raspberry-pi/?p=3113 Als je nieuw bent met de Raspberry Pi, sta je misschien voor de keuze om een programmeertaal te leren. Er zijn zoveel talen op de markt en wat je besluit te leren zal een diepgaand effect hebben op wat je kunt doen. Laten we eens kijken naar de talen die je kunt...

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

]]>
https://picockpit.com/raspberry-pi/nl/welke-programmeertaal-moet-je-gebruiken-met-de-raspberry-pi/feed/ 4
CircuitPython, Adafruit Feather RP2040 en I2C https://picockpit.com/raspberry-pi/nl/circuitpython-adafruit-feather-rp2040-en-i2c/ https://picockpit.com/raspberry-pi/nl/circuitpython-adafruit-feather-rp2040-en-i2c/#comments Tue, 23 Nov 2021 19:23:31 +0000 https://picockpit.com/raspberry-pi/?p=1207 Zoals je waarschijnlijk al aan de titel kunt zien, gaat dit artikel over CircuitPython, de Adafruit Feather RP2040 en het I2C-communicatieprotocol. De RP2040 heeft twee I2C-controllers - handig als je bijvoorbeeld twee I2C-apparaten met hetzelfde I2C-adres wilt gebruiken. In mijn testopstelling heb ik een Adafruit Feather RP2040 microcontroller bord,...

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

]]>
https://picockpit.com/raspberry-pi/nl/circuitpython-adafruit-feather-rp2040-en-i2c/feed/ 3
C uitbreiding voor MicroPython op Raspberry Pi Pico https://picockpit.com/raspberry-pi/nl/c-extensie-voor-micropython-op-raspberry-pi-pico/ https://picockpit.com/raspberry-pi/nl/c-extensie-voor-micropython-op-raspberry-pi-pico/#comments Thu, 08 Apr 2021 14:26:05 +0000 https://picockpit.com/raspberry-pi/?p=774 Dit is een handleiding voor het schrijven en uitvoeren van een basis C-uitbreiding voor MicroPython op de Raspberry Pi Pico. Ik zal de redenen voor het uitbreiden van MicroPython behandelen, hoe je de uitbreidingsmodule schrijft, hoe je het compileert en hoe je het installeert op de Pico. Als je meer wilt lezen over dit onderwerp,...

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

]]>
https://picockpit.com/raspberry-pi/nl/c-extensie-voor-micropython-op-raspberry-pi-pico/feed/ 8
Raspberry Pi Pico en MicroPython op Windows https://picockpit.com/raspberry-pi/nl/raspberry-pi-pico-en-micropython-op-windows/ https://picockpit.com/raspberry-pi/nl/raspberry-pi-pico-en-micropython-op-windows/#comments Sat, 30 Jan 2021 15:11:05 +0000 https://picockpit.com/raspberry-pi/?p=623 Dit artikel geeft antwoord op de vraag: Hoe gebruik ik de Raspberry Pi Pico met MicroPython onder Windows? We laten ook zien hoe je het juiste stuurprogramma installeert voor "Board CDC" (waar de Pico als zal verschijnen zodra MicroPython is geïnstalleerd) op Windows 8.1. (We bespreken ook de verschillen tussen MicroPython en CircuitPython waar van toepassing...

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

]]>
https://picockpit.com/raspberry-pi/nl/raspberry-pi-pico-en-micropython-op-windows/feed/ 10