rPi4b: Will Python3 work on it? #pi #programming


John
 

Attempting to learn Python3 programming for a ham project.  
Will it run on Raspberry Pi4b?
If so, will it run well?

John,  W0GN


 

Yes to both. 


On Fri, Aug 20, 2021, 07:03 John <radio@...> wrote:
Attempting to learn Python3 programming for a ham project.  
Will it run on Raspberry Pi4b?
If so, will it run well?

John,  W0GN


 

Yes

On 20/08/2021 10:03 John <radio@netins.net> wrote:


Attempting to learn Python3 programming for a ham project.
Will it run on Raspberry Pi4b?
If so, will it run well?

John, W0GN
Nigel A. Gunn, ///shoulders.outwards.resolutions tel +1-937-971-0366
Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel@ngunn.net www http://www.ngunn.net


Mark Griffith
 

It works as well as any other Python on any other computer. 

Mark 
KD0QYN 



On Fri, Aug 20, 2021 at 9:03 AM, John
<radio@...> wrote:
Attempting to learn Python3 programming for a ham project.  
Will it run on Raspberry Pi4b?
If so, will it run well?

John,  W0GN


pcsnow@...
 

Hi John
Raspberry Pi 4 comes with Python 3 which is an upgrade from Python 2.
The Pi is a great platform to get started with Python

My Raspberry pi 400 came with a nice book, the "Official Rasberry Pi Beginner's Guide, 4th Edition".
In Chapter 6, "physical computing with Scratch and Python", pg 131 they have a paragraph that
discusses how to use the GPIO pins from Python. You will need a library called GPIO Zero.

you can install it with "sudo pip install gpiozero" if you are not already superuser.
https://pypi.org/project/gpiozero/ has a example of how to use it.

You might also want to look at "Getting Started with MicroPython on Raspberry Pi Pico".
but you will also need to get 20 pin "headers" and solder them.
Look at the pico link above to find the documentation.

I like buying from adafruit but it was a shock to me to find I needed pins
(and that I needed to solder the
pins onto a "breadboard" )
to be able to easily attach wires and devices to actually
manipulate hardware.

MicroPython is a version of python that makes programming the hardware a little easier.

CircuitPython comes from Adafruit and is based on MicroPython which can run natively on the Pi Pico.

There is lots of stuff to learn to be able to master programming python for a ham project.
What a splendid adventure lies ahead for you!

73

Paul Campbell
KE7YK
Bellingham, WA





On Fri, Aug 20, 2021 at 7:03 AM John <radio@...> wrote:
Attempting to learn Python3 programming for a ham project.  
Will it run on Raspberry Pi4b?
If so, will it run well?

John,  W0GN