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,
2 Likes
Welcome @Shrill_kill
Have a look at UART protocol and see if it fits your use case 
Python’s serial library can read of a uart bus.
2 Likes
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 I do not see pygame listed as being compatable … but if you’re wanting to program a game google shows 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.
2 Likes