Archivos de Python | PiCockpit https://picockpit.com/raspberry-pi/es/categoria/python/ Sáb, 25 Nov 2023 20:40:52 +0000 es por hora 1 https://wordpress.org/?v=7.1.4 https://picockpit.com/raspberry-pi/wp-content/uploads/2024/07/cropped-new-plane-32x32.png Archivos de Python | PiCockpit https://picockpit.com/raspberry-pi/es/categoria/python/ 32 32 Python Dispatch: Hacer opcional el GIL https://picockpit.com/raspberry-pi/es/python-dispatch-haciendo-el-gil-opcional/ https://picockpit.com/raspberry-pi/es/python-dispatch-haciendo-el-gil-opcional/#respond mar, 01 ago 2023 11:35:37 +0000 https://picockpit.com/raspberry-pi/?p=4508 El Steering Council ha hecho un gran anuncio sobre el futuro de Python. En concreto, han decidido que el Bloqueo Global del Intérprete (GIL) sea opcional en CPython y, con el tiempo, eliminarlo por completo. Esta es una gran decisión que alterará fundamentalmente a Python. Por lo tanto, en este post, voy a repasar lo que es el GIL, su...

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

]]>
https://picockpit.com/raspberry-pi/es/python-dispatch-haciendo-el-gil-opcional/feed/ 0
¿Cuál es la diferencia entre CPython, MicroPython y CircuitPython? https://picockpit.com/raspberry-pi/es/cual-es-la-diferencia-entre-micropython-circuitpython-cpython-anyway/ https://picockpit.com/raspberry-pi/es/cual-es-la-diferencia-entre-micropython-circuitpython-cpython-anyway/#respond mar, 18 jul 2023 09:18:54 +0000 https://picockpit.com/raspberry-pi/?p=4076 CPython, MicroPython y CircuitPython ocupan un lugar muy querido en los corazones de muchos trasteadores. Pero no siempre está claro cuáles son las diferencias. Y si estás jugando con microcontroladores por primera vez, estas distinciones pueden desempeñar un papel clave en la comprensión de lo que está pasando con tu código. Así que, en este artículo, voy a...

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

]]>
https://picockpit.com/raspberry-pi/es/cual-es-la-diferencia-entre-micropython-circuitpython-cpython-anyway/feed/ 0
9 Trucos con el REPL de Python https://picockpit.com/raspberry-pi/es/9-trucos-con-el-replica-python/ https://picockpit.com/raspberry-pi/es/9-trucos-con-el-replica-python/#respond mar, 11 jul 2023 12:27:49 +0000 https://picockpit.com/raspberry-pi/?p=4092 Por supuesto, el Pi en Raspberry Pi viene de Python, uno de los lenguajes de programación más populares en el mundo y especialmente popular entre los manitas y makers. En este post, Quiero darte 9 trucos y consejos con el Python REPL - pero no te preocupes si no estás super familiarizado con Python o...

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

]]>
https://picockpit.com/raspberry-pi/es/9-trucos-con-el-replica-python/feed/ 0
¿Qué lenguaje de programación utilizar para una Raspberry Pi? https://picockpit.com/raspberry-pi/es/que-lenguaje-de-programacion-deberia-usar-con-la-frambuesa-pi/ https://picockpit.com/raspberry-pi/es/que-lenguaje-de-programacion-deberia-usar-con-la-frambuesa-pi/#comments Thu, 13 Oct 2022 18:07:26 +0000 https://picockpit.com/raspberry-pi/?p=3113 Si eres nuevo en la Raspberry Pi, puede que te encuentres en la encrucijada de elegir un lenguaje de programación para aprender. Hay tantos lenguajes por ahí y lo que decidas aprender tendrá un profundo efecto en lo que puedes hacer. Así que, echemos un vistazo a los lenguajes que puedes...

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

]]>
https://picockpit.com/raspberry-pi/es/que-lenguaje-de-programacion-deberia-usar-con-la-frambuesa-pi/feed/ 4
CircuitPython, Adafruit Feather RP2040 e I2C https://picockpit.com/raspberry-pi/es/circuitpython-adafruit-feather-rp2040-y-i2c/ https://picockpit.com/raspberry-pi/es/circuitpython-adafruit-feather-rp2040-y-i2c/#comments Mar, 23 Nov 2021 19:23:31 +0000 https://picockpit.com/raspberry-pi/?p=1207 Como probablemente adivinaste por el título, este artículo trata sobre CircuitPython, el Adafruit Feather RP2040, y el protocolo de comunicación I2C. El RP2040 tiene dos controladores I2C - bueno, por ejemplo, cuando se desea ejecutar dos dispositivos I2C con la misma dirección I2C. En mi configuración de prueba, tengo una placa microcontroladora Adafruit Feather RP2040,...

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

]]>
https://picockpit.com/raspberry-pi/es/circuitpython-adafruit-feather-rp2040-y-i2c/feed/ 3
Extensión C para MicroPython en Raspberry Pi Pico https://picockpit.com/raspberry-pi/es/c-extension-for-micropython-on-raspberry-pi-pico/ https://picockpit.com/raspberry-pi/es/c-extension-for-micropython-on-raspberry-pi-pico/#comments Thu, 08 Apr 2021 14:26:05 +0000 https://picockpit.com/raspberry-pi/?p=774 Esta es una guía sobre cómo escribir y ejecutar una extensión C básica para MicroPython en la Raspberry Pi Pico. Cubriré las razones para extender MicroPython, cómo escribir el módulo de extensión, cómo compilarlo y cómo instalarlo en el Pico. Si quieres leer más sobre este tema,...

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

]]>
https://picockpit.com/raspberry-pi/es/c-extension-for-micropython-on-raspberry-pi-pico/feed/ 8
Raspberry Pi Pico y MicroPython en Windows https://picockpit.com/raspberry-pi/es/raspberry-pi-pico-and-micropython-on-windows/ https://picockpit.com/raspberry-pi/es/raspberry-pi-pico-and-micropython-on-windows/#comments Sat, 30 Jan 2021 15:11:05 +0000 https://picockpit.com/raspberry-pi/?p=623 Este artículo responde a la pregunta: ¿Cómo puedo utilizar la Raspberry Pi Pico con MicroPython en Windows? También mostramos cómo instalar el controlador adecuado para "Board CDC" (que el Pico se mostrará como una vez que MicroPython está instalado) en Windows 8.1. (También discutiremos las diferencias entre MicroPython y CircuitPython cuando sea aplicable...)

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

]]>
https://picockpit.com/raspberry-pi/es/raspberry-pi-pico-and-micropython-on-windows/feed/ 10