Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <liqeqiFprmmU1@mid.individual.net>
Deutsch   English   Français   Italiano  
<liqeqiFprmmU1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.nobody.at!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rbowman <bowman@montana.com>
Newsgroups: comp.lang.python
Subject: Re: new here
Date: 23 Aug 2024 03:43:15 GMT
Lines: 76
Message-ID: <liqeqiFprmmU1@mid.individual.net>
References: <87ikvuzv8g.fsf@rpi3> <liktbqFgjfU2@mid.individual.net>
	<87zfp4bgm3.fsf@nightsong.com> <lipj21Flti1U6@mid.individual.net>
	<6da65aef-86d7-46e7-90cc-692985ffaf29@DancesWithMice.info>
	<mailman.65.1724358976.2890.python-list@python.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 3AYh1luzoRaFbRJxAg86kQhIYgHNUyD+ox3/XH6B9W2kVimVA4
Cancel-Lock: sha1:bUrwn3XNa8h8zHT+rFlnWnWHsPk= sha256:uQ6s9CFP5le05q4HlJwoaNaSv399fHKCumj4ZbXRgU8=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Bytes: 3789

On Fri, 23 Aug 2024 08:36:02 +1200, dn wrote:

> On 23/08/24 07:49, rbowman via Python-list wrote:
>> On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote:
>> 
>>> The Pico uses MicroPython which is stuck on an old version of Python,
>>> unfortunately.
> 
> How did this enter the conversation/thread?
> 
> Paul's 'contribution' does not even appear on the Archive...

I'm probably guilty. I mentioned in passing the older protocols like 
finger could even be implemented on something like the Pico W with 
MicroPython.

I am confused by the cross-over to Python-list. I only read/post to 
comp.lang.python. Is that echoed to Python-list or vice versa?

>> I haven't worked with CircuitPython lately and don't know if it has
>> pulled in later features.
> 
> Have you (gentle reader) used both and feel able to offer a comparison -
> when to prefer one over the other?

I've only used CircuitPython on the Adafruit Playground Express.

https://circuitpython.org/board/circuitplayground_express/

and MicroPython on the Pico W. Since then Adafruit has expanded their 
collection of boards and support them with CircuitPython.

One difference that makes them hard to compare is the Express has quite a 
few on-board sensors like the Arduino Nano Sense 33, and interfaces to 
them are baked into CircuitPython. 

The Pico W has a wealth of I/O most doubling as I2C, PWM, or A/D with only 
a onboard LED for the mandatory 'hello world' blink code. MicroPython is 
more generic and you may have to import modules for specific external 
devices like the SSD1306 OLED display. That's easily done with Thonny or 
pipkin.

As far as core Python I'd say they're similar. MicroPython is more generic 
and may require more work to set up where Adafruit can match the boards 
they have developed. 

As I said it's been a while but MicroPython has the _threading module so 
you can utilize both cores of the RP2040. Adafruit's new Feather has a 
RP2040 and like the Pico W assumes you'll be using the PIO to externals 
rather than anything onboard so CircuitPython probably has it.

https://www.adafruit.com/product/4884

From the horse's mouth:

"There is great C/C++ support, unofficial (but really good) Arduino 
support, an official MicroPython port, and a CircuitPython port! We of 
course recommend CircuitPython because we think it's the easiest way to 
get started and it has support with most of our drivers, displays, 
sensors, and more, supported out of the box so you can follow along with 
our CircuitPython projects and tutorials."

I don't know if Adafruit has a RP2350 board yet but they say CircuitPython 
will be even happier on the Pico 2.

https://www.adafruit.com/product/6006

For better or worse there are a lot more choices now than fiddling around 
with the Arduino Uno back in the day.