Arv,
toggle quoted message
Show quoted text
I've been coding in python for over 20 years now, and like it. It's a very clean language.? If I jot down an algorithm on scratch paper, it looks like python.? When I write a python program it often works first time, much to my surprise.? Even if I haven't coded in Python for a year. I often need to bash at C programs till the obscure bugs have been found. I read the python doc's 20 years ago, haven't done a thorough look since. Much has been added to the language, but I don't feel the need for all the new wiz-bang features.? (Same with C, I have no use for C++) So, I'm something of a punter on python, keep that in mind. Here's a list of differences between micropython and standard python (Cpython): ? ?? Nothing there looks scary to me, the basic language is intact. I could code in micropython without hardly noticing the differences. The primary change is that it is churning away on some little microcontroller without OS calls, file system, an internet connection, or gigabytes of memory. My advice: Install standard python3 on whatever computer you have, be it linux, macOSX, or MSwin.? (Often already installed on linux and mac). Play with it while digging through a tutorial, there are hundreds of them out on the interwebs but here's the equivalent of K&R-C for python: ? ? Click on "Tutorial" for the web-browser version, click on "Download" for the pdf's. I'm not at home on a computer unless it has python installed. I use it whenever somebody else might open up a calculator or spreadsheet program. I use it when cleaning up a text file, instead of awk. I use it when proving out a new algorithm, even if it will eventually become a C program for more efficient execution. No need to spend that $4. Once you have your bearings in standard python, you might want to install micropython, that can be done under linux, macOSX and MSwin as well. If you have grandkids interested in coding, point them at python. It's totally open ended, you can learn a lot about computer science just using it. And if they are interested in what's going on down underneath it all, how a computer works, suggest they also figure out C.? The RPi-Pico with micropython (and/or C) strikes me as a much better choice for hobbyist microcontroller projects than a Nano under the Arduino IDE. Jerry, KE7ER On Sun, Mar 21, 2021 at 04:22 PM, Arv Evans wrote:
|