Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Turn on, tune up, rock out." -- Billy Gibbons


devel / comp.lang.python / Re: Question(s)

SubjectAuthor
o Re: Question(s)Michael Torrie

1
Re: Question(s)

<mailman.88.1698338499.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24243&group=comp.lang.python#24243

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: torr...@gmail.com (Michael Torrie)
Newsgroups: comp.lang.python
Subject: Re: Question(s)
Date: Thu, 26 Oct 2023 10:41:33 -0600
Lines: 48
Message-ID: <mailman.88.1698338499.3828.python-list@python.org>
References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
<58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
<CAPpdf5_WVe07YVm-dZVV1mpZSWB6v4Z0itRsfYxYVdt8bWt0Ng@mail.gmail.com>
<da70b32a-28a3-4a7d-a403-53906cade994@tompassin.net>
<CAPTjJmoEfqBYrHh15X3hLqUAAZuTma5FrQyUFjFD8k659ObkEw@mail.gmail.com>
<CAPpdf59T8dYTwcWZS88xhDgnWpDK4MBW0Mss59_b3OuJ9cAkAg@mail.gmail.com>
<CAPTjJmqwsQetdY-s4Gyqt5Dv0NacbTLY_TdJuW5rA-w3RAmSuA@mail.gmail.com>
<CAPpdf58TP+CP8Bkj_bTm3Y=vrxBFLNMR43TjO3tRnu+DZ4PjAg@mail.gmail.com>
<2968ccb6-21e0-2e29-29c8-1c0803fe55e8@gmail.com>
<CAPpdf5-e=tcPtLdps+gjEjtA2dJn2GbxtAimaX9JTBqwnh9T-Q@mail.gmail.com>
<247d0267-f300-67f3-649f-5c932475e89e@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 0GBjXu633MtEkmnxqTr3fg8GW7rqpBceMOmfiUaJArkA==
Cancel-Lock: sha1:qKEFvieFXrUqB0CGQS0AWWqqSiM= sha256:FJKPCiO5M0UwTgTtjdMc35zr4y832OC/InkqvJXathA=
Return-Path: <torriem@gmail.com>
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=gmail.com header.i=@gmail.com header.b=LE8Qg9M3;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.079
X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'searching': 0.05;
'debugging': 0.07; 'python.': 0.08; 'idle': 0.09; 'received:mail-
pl1-x634.google.com': 0.09; 'threads': 0.09; 'timing': 0.09;
'arduino': 0.16; "hadn't": 0.16; 'issue!': 0.16; 'micropython':
0.16; 'o1bigtenor': 0.16; 'option.': 0.16; 'remember,': 0.16;
'subset': 0.16; 'waves': 0.16; 'wrote:': 0.16; 'python': 0.16;
'code.': 0.17; 'instead': 0.17; 'probably': 0.17; 'message-
id:@gmail.com': 0.18; "aren't": 0.19; 'hardware': 0.19;
'subject:Question': 0.19; 'to:addr:python-list': 0.20; "i've":
0.22; 'code': 0.23; 'anything': 0.25; 'anyone': 0.25; 'again,':
0.26; 'visual': 0.26; "isn't": 0.27; 'done': 0.28; 'etc': 0.28;
'it,': 0.29; 'header:User-Agent:1': 0.30; 'answers': 0.32;
'good.': 0.32; 'language.': 0.32; 'but': 0.32; "i'm": 0.33;
'mailing': 0.33; 'there': 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'running': 0.34; 'trying': 0.35;
'definitely': 0.35; 'following': 0.35; 'from:addr:gmail.com':
0.35; 'really': 0.37; 'using': 0.37; 'hard': 0.37;
'received:192.168': 0.37; 'way': 0.38; 'mentioned': 0.39; 'list':
0.39; 'use': 0.39; 'ide': 0.40; 'studio': 0.40; 'try': 0.40;
'forum': 0.60; 'physical': 0.60; 'tell': 0.60; 'provide': 0.60;
'included': 0.61; 'method': 0.61; 'here.': 0.61; 'seen': 0.62;
'remote': 0.63; 'ever': 0.63; 'accessing': 0.64; 're:': 0.64;
'subject:(': 0.64; 'came': 0.65; 'well': 0.65; 'wish': 0.66;
'time.': 0.66; 'forget': 0.67; 'heard': 0.67; 'that,': 0.67;
'square': 0.69; 'you.': 0.71; 'interesting': 0.71; 'little': 0.73;
"you'll": 0.73; 'easy': 0.74; 'tools': 0.74; 'quick': 0.77;
'devices.': 0.84; 'sensors': 0.84; 'ultimately': 0.84; 'dropping':
0.91; 'cut': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1698338496; x=1698943296; darn=python.org;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:from:to:cc:subject:date:message-id:reply-to;
bh=SaJutA0Mg9dCTO5NOWnox+vlv7FwhThzc0cdcSUojFY=;
b=LE8Qg9M3ry8KTFED+LwDuFQqjK95MSSlKFxVmjVhRCsijy/a+yMDsO1Ea+kdvgCRO0
3PRPMt3h3OdXSqYHq4kNS5C1VOoONV0XX0e2BIp9g4VE9mP7GURZcbw+CFauEP8BLvuV
dOFLMd4f7+MDcnHhCAuwRz+YTBnWwx46owsB9MshUFUuZb/y9VaLt00xJBbmTmdnI9jJ
f4ln1+mFezDhhOGPoLEs58GqxvoLqE/unupsHHSNq2GvJRvam0aKZb6xwVFvnCY4IDbt
rb4v8iR6aY5WeJykxLtYpv3VIFxY1SI4q4G7WHZ9cw3y/CA6SIrPJkmxtONZhmWtdqoN
4LNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1698338496; x=1698943296;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=SaJutA0Mg9dCTO5NOWnox+vlv7FwhThzc0cdcSUojFY=;
b=h2kao85I39HttWXf/R/HY4zp9m8rXJVI7hZIIrgRX4HuKzLkwsQO0DnC80KnbRwfVb
HVkiNb7hT6/a5ANxT3sPyoaUbXVAwT7YLfYk6Kb/TCWDCxLElNb9RKcrUJ+PuhuxrG7E
JESevznzoMUXAFNa8AHoFdgD7Z3SukMB/5uIs+zLz8sf2zTNT1mULisR9he3m1XkmmJB
FXXtes9F2nI24go94+IBQowyW+Xa3f55IcLjT7/cNhV6JGazfQ6/OeSddpaZZVtIWvp5
F378Y9b5p/fP4t5xu3dZjQfviRrGvu0bOyXkrLjxmiBrdIjyix8EtxDfWszyss29gdmu
kdmw==
X-Gm-Message-State: AOJu0YyCYnAOpT92bQAK8CGNZeaKdHwrqTTO4BOMSgnwk/ZOU+J54FP6
a+XXfthicJGFAnkUZghrozmjQngIo+g=
X-Google-Smtp-Source: AGHT+IHd6QXhYeZPzY0RIgy47WIOe1xGwzRzxiqN3s62i/iFAlmTsghvk1xUFpFqrM44LbWsXoDLdg==
X-Received: by 2002:a17:902:cf4e:b0:1ca:811e:dcf7 with SMTP id
e14-20020a170902cf4e00b001ca811edcf7mr48023plg.31.1698338495874;
Thu, 26 Oct 2023 09:41:35 -0700 (PDT)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.5.0
Content-Language: en-US
In-Reply-To: <CAPpdf5-e=tcPtLdps+gjEjtA2dJn2GbxtAimaX9JTBqwnh9T-Q@mail.gmail.com>
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: <247d0267-f300-67f3-649f-5c932475e89e@gmail.com>
X-Mailman-Original-References: <CAPpdf58WXyJs+Rd_GnbS-6dW8bPNt5DsojnVN5_ep+ebNx36Pw@mail.gmail.com>
<58b56dbe-646c-4a94-8102-ac2cf6efe233@tompassin.net>
<CAPpdf5_WVe07YVm-dZVV1mpZSWB6v4Z0itRsfYxYVdt8bWt0Ng@mail.gmail.com>
<da70b32a-28a3-4a7d-a403-53906cade994@tompassin.net>
<CAPTjJmoEfqBYrHh15X3hLqUAAZuTma5FrQyUFjFD8k659ObkEw@mail.gmail.com>
<CAPpdf59T8dYTwcWZS88xhDgnWpDK4MBW0Mss59_b3OuJ9cAkAg@mail.gmail.com>
<CAPTjJmqwsQetdY-s4Gyqt5Dv0NacbTLY_TdJuW5rA-w3RAmSuA@mail.gmail.com>
<CAPpdf58TP+CP8Bkj_bTm3Y=vrxBFLNMR43TjO3tRnu+DZ4PjAg@mail.gmail.com>
<2968ccb6-21e0-2e29-29c8-1c0803fe55e8@gmail.com>
<CAPpdf5-e=tcPtLdps+gjEjtA2dJn2GbxtAimaX9JTBqwnh9T-Q@mail.gmail.com>
 by: Michael Torrie - Thu, 26 Oct 2023 16:41 UTC

On 10/26/23 06:34, o1bigtenor wrote:
> Interesting - - - - ". . . see if it runs." - - - that's the issue!
> When the code is accessing sensors there isn't an easy way to
> check that the code is working until one has done the all of the
> physical construction. If I'm trying to control a pulsation system
> using square waves with distinct needs for timing etc I hadn't
> seen any way of 'stepping through the code' (phrase you use later).

Having dabbled in embedded electronics, all I can say is you will just
have to build it and try to get it working. Failure is always an
option. If I understand you correctly, this is for a hobby interest, so
go at it and have fun.

Stepping through code is a basic part of debugging in any language.
They all have tools for it. Google for python debugging.

"distinct needs for timing?" Did you forget to tell us you need to use
MicroPython? Certainly MicroPython running on a microcontroller with
help from hardware timers certainly can do it, but this mailing list is
not the place to ask about it. Instead you'll have to visit a forum on
MicroPython or CircuitPython. By the way you definitely can step
through MicroPython code one line at a time with a remote debugger, say
with Visual Studio Code.

> I have been following this list for some time. Don't believe that I've ever
> seen anything where anyone was referred to 'Idle'. In reading other user
> group threads I have heard lots about java and its ide - - - don't remember,
> again, any re: an ide for python.

Idle has been mentioned on several occasions, but probably more on the
python-tutor list. I find it hard to believe that searching for Python
IDEs really came up blank. There are even IDEs for MicroPython and
embedded devices. I found a nice list with a quick search.

> Even in maker threads - - - say for arduino - - its 'use this cut and
> paste method
> of programming' with no mention of any kind of ide when it was microPython - -
> although being a subset of python it Idle may not work with it.

You keep dropping little details that, had you included them in the
first post, would have helped avoid a lot of answers that ultimately
aren't going to be useful to you. Are you working MicroPython or with
regular Python on a PC? That makes a big difference in where you go to
get help and what kind of help we can provide here.

> Oh well - - - I am working on things!

That is good. I wish you success.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor