Deutsch English Français Italiano |
<mailman.66.1724387030.2890.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail From: dn <PythonList@DancesWithMice.info> Newsgroups: comp.lang.python Subject: Re: new here Date: Fri, 23 Aug 2024 16:23:42 +1200 Organization: DWM Lines: 113 Message-ID: <mailman.66.1724387030.2890.python-list@python.org> 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> <liqeqiFprmmU1@mid.individual.net> <3f06d06e-732f-4afa-ba23-24aa1b742de4@DancesWithMice.info> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de X8cfd4vrU4Z6dmJ2X9Xz9gL3V6loRPAwYyhRvXn7FrVQ== Cancel-Lock: sha1:tw7LuK+ImNIYLiQvy0p2sodF/ok= sha256:GNuFZ75uoNk1SQxVgYP+BfdPD1WktuhSCyosKb5rQbU= Return-Path: <PythonList@DancesWithMice.info> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=danceswithmice.info header.i=@danceswithmice.info header.b=WLEUF+eJ; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'knows': 0.04; 'pycharm': 0.04; 'thread': 0.05; '(to': 0.07; 'assumes': 0.07; 'aug': 0.07; 'modules': 0.07; 'python.': 0.08; '-0700,': 0.09; '=dn': 0.09; 'comment,': 0.09; 'comparison': 0.09; 'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist': 0.09; 'interfaces': 0.09; 'newsgroup': 0.09; 'pulled': 0.09; 'received:192.168.1.64': 0.09; 'support,': 0.09; 'import': 0.15; 'supported': 0.15; '"there': 0.16; '2024': 0.16; '>>>>': 0.16; 'adafruit': 0.16; 'arduino': 0.16; 'assuming': 0.16; 'assumption': 0.16; 'both.': 0.16; 'confused': 0.16; 'devices': 0.16; 'easiest': 0.16; 'finger': 0.16; 'frustration': 0.16; 'mandatory': 0.16; 'message-id:@DancesWithMice.info': 0.16; 'micropython': 0.16; 'onboard': 0.16; 'playground': 0.16; 'real-world,': 0.16; 'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'sensors,': 0.16; 'server,': 0.16; 'similar.': 0.16; 'stuck': 0.16; 'subject:here': 0.16; 'url-ip:104.21.37/24': 0.16; 'url:board': 0.16; 'versa?': 0.16; 'whichever': 0.16; 'whilst': 0.16; 'wrote:': 0.16; 'python': 0.16; 'code.': 0.17; 'probably': 0.17; 'uses': 0.19; 'thu,': 0.19; 'to:addr:python-list': 0.20; 'option': 0.20; "i've": 0.22; 'fri,': 0.22; 'version': 0.23; 'run': 0.23; "i'd": 0.24; 'idea': 0.24; 'anything': 0.25; 'python,': 0.25; 'old': 0.27; 'done': 0.28; '>>>': 0.28; 'board': 0.28; 'sense': 0.28; 'thinking': 0.28; 'asked': 0.29; 'it,': 0.29; 'header:User- Agent:1': 0.30; 'module': 0.31; 'header:Organization:1': 0.31; 'think': 0.32; "doesn't": 0.32; 'official': 0.32; 'question': 0.32; 'python-list': 0.32; 'received:192.168.1': 0.32; 'but': 0.32; "i'm": 0.33; 'there': 0.33; 'server': 0.33; 'able': 0.34; 'core': 0.34; 'header:In-Reply-To:1': 0.34; 'question.': 0.35; 'yes,': 0.35; 'display': 0.36; 'posts': 0.36; "skip:' 10": 0.37; 'really': 0.37; 'using': 0.37; "it's": 0.37; 'hard': 0.37; 'received:192.168': 0.37; 'way': 0.38; 'could': 0.38; 'thanks': 0.38; 'quite': 0.39; 'adding': 0.39; 'mentioned': 0.39; 'use': 0.39; 'url-ip:104.21/16': 0.61; 'utilize': 0.62; 'come': 0.62; 'follow': 0.62; 'feel': 0.63; 'great': 0.63; 'once': 0.63; 'professional': 0.63; 'our': 0.64; 'url:product': 0.64; 'his': 0.65; 'box': 0.65; 'earlier': 0.67; 'worked': 0.67; 'back': 0.67; 'more,': 0.67; 'that,': 0.67; 'day.': 0.68; 'compare': 0.69; 'older': 0.70; 'compared': 0.71; 'offer': 0.71; "you'll": 0.73; 'degree': 0.76; 'features.': 0.76; 'implemented': 0.76; 'life': 0.77; 'reply': 0.77; 'leads': 0.81; 'led': 0.81; 'paul': 0.81; 'biggest': 0.84; '(inside': 0.84; 'choices': 0.84; 'express.': 0.84; 'happier': 0.84; 'sensors': 0.84; 'thus,': 0.84; "world'": 0.84; 'hence,': 0.91; 'other?': 0.91 DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 4B1856578 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info; s=staff; t=1724387027; bh=g9fxP4uRiz0j+sFT7Mzo+jKu7Y3k7y2Oe+SnzR1huQQ=; h=Date:From:Subject:To:References:In-Reply-To:From; b=WLEUF+eJfDgGqg0QLSYghdK0zqhF/5j/CvLIfjZ65RurupNiPnsow07VRYwW0HEhE IECJr8F8zfhNsCgsFXM9k98klNUPNmIK/AswJzQP4wyJpHHyj1GDzkB1tH6RWU9LIR JugA70qp2K6cAoOQTtZt/BC2b584tJxYeSujoZGzuO6uSCcu8PNr0MBNWI1BpMKDy5 kDzA+PrF7ZFYrzNCDVzRsKChaPBl9HFJ5jdTXcuVCn+hQUDJY6EzsbNrxnhfKj1rm4 F2Zj4EWiotu34s2VnXWNNN1bB/9kkWla7wbSL1XlRnfirGK+52wbFGKMpwHqdutTs9 fLEc6mQ9qJ6BA== User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <liqeqiFprmmU1@mid.individual.net> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <3f06d06e-732f-4afa-ba23-24aa1b742de4@DancesWithMice.info> X-Mailman-Original-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> <liqeqiFprmmU1@mid.individual.net> Bytes: 10501 On 23/08/24 15:43, rbowman via Python-list wrote: > 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. The question arose because his message doesn't appear either in the conversation/email thread 'here', nor on the Archive. Perhaps not sent to the list? > 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? As I understand it, posts to 'the list' may be made at comp.lang.python or by email. Once on the server, messages are reflected back to both. Thus, Thunderbird is not set-up to use the newsgroup and keeps complaining at me when it's asked to reply to both. So, all contributions (from me) enter the server via email. >>> 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. Adding a display to the Pico-W is my next project... After that, gyros (am thinking it may not go so well, on balance... hah!). The Pico-W impresses. Its built-in Wi-Fi/Bluetooth capability makes life a lot easier (inside building use). Apart from the earlier comment, my biggest frustration has come from the lack of facilities in Thonny compared with PyCharm - but will pick-up skills there, no doubt. Conversely, (to having a separate radio-chip) I think I prefer the idea of being able to connect the Pico to whichever sensor(s) is/are actually-required. However, this is applied use - not learning or 'playing'. > 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." Whilst agreeing with the "easiest way to get started" claim, it probably also leads to the assumption that it will (later) be easier to run out of capability. Hence, that MicroPython would be the better professional option - assuming one already knows Python. Yes, a degree of 'comparing apples with oranges' - and a continually-moving target! ========== REMAINDER OF ARTICLE TRUNCATED ==========