# Pico (Micro python) bridge to python

**URL:** <https://forum.core-electronics.com.au/t/pico-micro-python-bridge-to-python/22123>\
**Category:** Support\
**Created:** [21 March 2025 19:34 UTC](https://forum.core-electronics.com.au/t/pico-micro-python-bridge-to-python/22123 "2025-03-21T19:34:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shrill\_kill](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Shrill\_kill](https://forum.core-electronics.com.au/u/Shrill_kill)\
**Post date:** [21 March 2025 19:34 UTC](https://forum.core-electronics.com.au/t/pico-micro-python-bridge-to-python/22123/1 "2025-03-21T19:34:36Z")

</div>

Hello , I am very new to Pico , I was wondering if there is any way to connect the regular python libs / mods to thonny, for example I want to take readings from the Thonny shell and use those readings on the files on vscode( Pygame), but I encountered pygame doesn’t work with pico.

So is there any bridge between python to micro python or create a pipeline something like that,

---

<div class="post-metadata">

**Author:** ![Pixmusix](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/pixmusix/32/9719_2.png) [@Pixmusix](https://forum.core-electronics.com.au/u/Pixmusix)\
**Post date:** [22 March 2025 11:42 UTC](https://forum.core-electronics.com.au/t/pico-micro-python-bridge-to-python/22123/2 "2025-03-22T11:42:21Z")

</div>

Welcome @Shrill_kill  
Have a look at UART protocol and see if it fits your use case 😀

> **[class UART – duplex serial communication bus — MicroPython latest documentation](https://docs.micropython.org/en/latest/library/machine.UART.html)**

Python’s serial library can read of a uart bus.

---

<div class="post-metadata">

**Author:** ![Donald23173](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/donald23173/32/12687_2.png) [@Donald23173](https://forum.core-electronics.com.au/u/Donald23173)\
**Post date:** [30 March 2025 08:52 UTC](https://forum.core-electronics.com.au/t/pico-micro-python-bridge-to-python/22123/3 "2025-03-30T08:52:12Z")

</div>

Hi Shrill,

I’m not sure I understand your question properly…

Are you looking to connect two machines - the Pico and another one running Thonny ? This is what Pixmusix has answered.

Or are you saying that VScode / Pygame doesn’t run on the Pico, and asking is there is an alternative which is better suited to the Pico ?

I am not familiar with the Pico - but I know that it is a microcontroller, so has limited memory. Micro-python is a slightly cut-down version of Python designed and optimised for microcontrollers - and available for the Pico.

VSCode on the other hand is coming down from the Windows PC space, full of features that I doubt will fit into a Pico. I have looked at pygame for basic display screen management, but I know it also is designed for programming graphical-based games. You haven’t given any detail of what you are wanting pygame to do, so it’s hard to give useful advice.

Looking at the [microPython website](https://docs.micropython.org/) I do not see pygame listed as being compatable … but if you’re wanting to program a game google shows [pico-spacegame](https://github.com/penguintutor/pico-spacegame) which might do the job. On the other hand if you are wanting pygame for simple display management then there are probably other tools available - or you can use the built-in functions.
