On Tue, 17 Oct 2023 at 12:55, Bongo Ferno via Python-list
wrote:
>
> Where I can ask python developers for a new feature?
>
> This feature would allow us to create short aliases for long object paths,
> similar to the with statement. This would make code more readable and
Hello All!
I'd like to inform you that FlaskCon 2023 is currently calling for
proposals, and you are invited to submit.
*Submission Details:*
Deadline: 31st Oct
Submit Your Proposal: https://flaskcon.com/
Any submissions would be greatly appreciated.
Best regards,
*David Carmichael*
--
http
I am pondering about writing a client/server software with
websockets as communication protocol. The clients will run
in browser as Javascript programs and the server may be in
any (any sensible) programming language running standalone
to be connected remotely by the browser-based JS clients.
I fo
We have the `Optional[T]` type as a short-hand for Union[T | None] and telling
us that said argument may not be present.
However, I find that a majority of the time, we also want to set a default
value of None on the argument so that it can be evaluated without doing a
getattr() check first.
i
On Thu, 19 Oct 2023 at 10:07, Janis Papanagnou via Python-list
wrote:
>
> I am pondering about writing a client/server software with
> websockets as communication protocol. The clients will run
> in browser as Javascript programs and the server may be in
> any (any sensible) progr
On Thu, 19 Oct 2023 at 10:11, Matthew Carruth via Python-list
wrote:
>
> We have the `Optional[T]` type as a short-hand for Union[T | None] and
> telling us that said argument may not be present.
>
> However, I find that a majority of the time, we also want to set a default
>
On 19.10.2023 01:23, Chris Angelico wrote:
> [snip]
>
> Hope that's enough to get you started! I'd be delighted to help
> further if you run into difficulties.
Thanks for your quick reply, Chris! This is already great information!
I'll dive into your resources soon, and I also appreciate your off
> > or something like that. Basically, any way to avoid writing `= None` over
> > and over again.
>
> Fundamentally no, at least not without some shenanigans. Type hints do
> not affect the regular running of the code,
Except when they do ;-)
... depending on what counts as (valid) code ...
In
On Thu, 19 Oct 2023 at 18:04, Karsten Hilbert wrote:
>
> > > or something like that. Basically, any way to avoid writing `= None` over
> > > and over again.
> >
> > Fundamentally no, at least not without some shenanigans. Type hints do
> > not affect the regular running of the code,
>
> Except wh
> > > Fundamentally no, at least not without some shenanigans. Type hints do
> > > not affect the regular running of the code,
> >
> > Except when they do ;-)
> >
> > ... depending on what counts as (valid) code ...
> >
> > In Python a distinction can be made between "runnable" and "valid" :-D
> >
On Thu, 19 Oct 2023 at 18:25, Karsten Hilbert wrote:
>
> > > > Fundamentally no, at least not without some shenanigans. Type hints do
> > > > not affect the regular running of the code,
> > >
> > > Except when they do ;-)
> > >
> > > ... depending on what counts as (valid) code ...
> > >
> > > In
> > As per my recent foray into abusing existence-checking for Singleton
> > assurance
> > along such lines as
> >
> > >>> try: self.initialized
> > >>> except AttributeError: print('first instantiation'); self.initialized =
> > >>> True
> >
> > and then changing that to
> >
> > >>> try: self.ini
On Thu, 19 Oct 2023 at 19:34, Karsten Hilbert wrote:
>
> > > As per my recent foray into abusing existence-checking for Singleton
> > > assurance
> > > along such lines as
> > >
> > > >>> try: self.initialized
> > > >>> except AttributeError: print('first instantiation'); self.initialized
> > >
> You can actually just do that with simple assignment!
>
> short_view = my_object.stuff.long_stuff.sub_object
> print(short_view.some_method())
but then have to delete the variable manually
del short_view
--
https://mail.python.org/mailman/listinfo/python-list
n-list On
Behalf Of Bongo Ferno via Python-list
Sent: Thursday, October 19, 2023 9:33 PM
To: [email protected]
Subject: Re: Where I do ask for a new feature
> You can actually just do that with simple assignment!
>
> short_view = my_object.stuff.long_stuff.sub_object
> print
On Thursday, October 19, 2023 at 11:26:52 PM UTC-3, [email protected] wrote:
> There are many ways to make transient variables that disappear at some time
> and do we need yet another? Yes, you can create one of those ways but what
> is the big deal with deleting a variable when no longer used?
On 19Oct2023 20:16, Bongo Ferno wrote:
A with statement makes clear that the alias is an alias and is local,
and it automatically clears the variable after the block code is used.
No it doesn't:
>>> with open('/dev/null') as f:
... print(f)
...
<_io.TextIOWrapper name='/dev/
Op 20/10/2023 om 5:16 schreef Bongo Ferno via Python-list:
On Thursday, October 19, 2023 at 11:26:52 PM UTC-3, [email protected] wrote:
> There are many ways to make transient variables that disappear at some time
> and do we need yet another? Yes, you can create one of those ways bu
On 19.10.2023 01:23, Chris Angelico wrote:
>
> Broadly speaking, your ideas are great. Any programming language CAN
> be used for the server (and I've used several, not just Python).
Out of curiosity; what where these languages? - If there's one I
already know I might save some time implementing
On Fri, 20 Oct 2023 at 22:31, Janis Papanagnou via Python-list
wrote:
>
> On 19.10.2023 01:23, Chris Angelico wrote:
> >
> > Broadly speaking, your ideas are great. Any programming language CAN
> > be used for the server (and I've used several, not just Python).
>
On 10/19/2023 11:16 PM, Bongo Ferno via Python-list wrote:
On Thursday, October 19, 2023 at 11:26:52 PM UTC-3, [email protected] wrote:
There are many ways to make transient variables that disappear at some time
and do we need yet another? Yes, you can create one of those ways but what
is the
On 2023-10-20, Chris Angelico wrote:
> On Fri, 20 Oct 2023 at 22:31, Janis Papanagnou via Python-list
> wrote:
>>
>> On 19.10.2023 01:23, Chris Angelico wrote:
>> >
>> > Broadly speaking, your ideas are great. Any programming language CAN
>> > be us
f Roel Schroeven via Python-list
Sent: Friday, October 20, 2023 3:55 AM
To: [email protected]
Subject: Re: Where I do ask for a new feature
Op 20/10/2023 om 5:16 schreef Bongo Ferno via Python-list:
> On Thursday, October 19, 2023 at 11:26:52 PM UTC-3, [email protected] wrote:
>
>
On 10/19/23 19:32, Bongo Ferno via Python-list wrote:
>
>> You can actually just do that with simple assignment!
>>
>> short_view = my_object.stuff.long_stuff.sub_object
>> print(short_view.some_method())
>
> but then have to delete the variable manually
>
I have a python script, and from that I want to run another script in
a subprocess in a venv. What is the best way to do that? I could write
a file that activates the venv then runs the script, then run that
file, but that seems messy. Is there a better way?
--
https://mail.python.org/mailman/list
On Sat, 21 Oct 2023 09:01:18 -0400
Larry Martell via Python-list wrote:
> I have a python script, and from that I want to run another script in
> a subprocess in a venv. What is the best way to do that? I could write
> a file that activates the venv then runs the script, then run th
Larry Martell via Python-list schreef op 21/10/2023 om 15:01:
I have a python script, and from that I want to run another script in
a subprocess in a venv. What is the best way to do that? I could write
a file that activates the venv then runs the script, then run that
file, but that seems messy
On Sat, Oct 21, 2023 at 9:49 AM Johannes Findeisen wrote:
>
> On Sat, 21 Oct 2023 09:01:18 -0400
> Larry Martell via Python-list wrote:
>
> > I have a python script, and from that I want to run another script in
> > a subprocess in a venv. What is the best way to do t
On Sat, 21 Oct 2023 11:32:03 -0400
Larry Martell wrote:
> On Sat, Oct 21, 2023 at 9:49 AM Johannes Findeisen
> wrote:
> >
> > On Sat, 21 Oct 2023 09:01:18 -0400
> > Larry Martell via Python-list wrote:
> >
> > > I have a python script, and from that
On Sat, Oct 21, 2023 at 12:10 PM Johannes Findeisen wrote:
>
> On Sat, 21 Oct 2023 11:32:03 -0400
> Larry Martell wrote:
>
> > On Sat, Oct 21, 2023 at 9:49 AM Johannes Findeisen
> > wrote:
> > >
> > > On Sat, 21 Oct 2023 09:01:18 -0400
> > > La
On 10/21/2023 11:32 AM, Larry Martell via Python-list wrote:
On Sat, Oct 21, 2023 at 9:49 AM Johannes Findeisen wrote:
On Sat, 21 Oct 2023 09:01:18 -0400
Larry Martell via Python-list wrote:
I have a python script, and from that I want to run another script in
a subprocess in a venv. What
On 20.10.2023 23:05, Paul Rubin wrote:
> Janis Papanagnou writes:
>> I found a Python sample[*] but I am neither familiar with
>> Python nor with the 'simple_websocket_server' package that
>> is used in that sample code. But the code looks so simple
>> that I'm considering to learn and use Python
On Sun, 22 Oct 2023 at 04:13, Janis Papanagnou via Python-list
wrote:
> I have a couple decades experience with about a dozen programming
> languages (not counting assemblers). Asynchronous processing, IPC,
> multi-processing, client/server architectures, multi-threading,
> semaphor
On 10/21/23 07:01, Larry Martell via Python-list wrote:
I have a python script, and from that I want to run another script in
a subprocess in a venv. What is the best way to do that? I could write
a file that activates the venv then runs the script, then run that
file, but that seems messy. Is
Hello!
I'm pleased to announce version 3.3.3, the fourth release
of branch 3.3 of CheetahTemplate3.
What's new in CheetahTemplate3
==
Minor features:
- Protect ``import cgi`` in preparation to Python 3.13.
Tests:
- Run tests with Python 3.12.
CI:
- GHActio
I have the following small module:
=-=-=-=-=-=-=-=-=-=-=-= 8< =-=-=-=-=-=-=-=-=-=-=-=-=
from typing import NamedTuple, TypeAlias, Union
from collections.abc import Sequence
PNT: TypeAlias = tuple[float, float]
class Pnt (NamedTuple):
x: float
y: float
def __add__(self, other: PNT)
Janis Papanagnou wrote at 2023-10-21 04:03 +0200:
> ...
>I'd like to ask; where do you see the specific risks with Python
>(as language per se) and it's (web-socket-)libraries here?
The web server in Python's runtime library is fairly simple,
focusing only on the HTTP requirements.
You might want
On 22Oct2023 17:50, Antoon Pardon wrote:
I have the following small module:
=-=-=-=-=-=-=-=-=-=-=-= 8< =-=-=-=-=-=-=-=-=-=-=-=-=
class Pnt (NamedTuple):
x: float
y: float
def __add__(self, other: PNT) -> Pnt:
return Pnt(self[0] + other[0], self[1] + other[1])
When this functio
hy (at
least from my perspective) working in unix environment is so much more pleasant.
https://en.wikipedia.org/wiki/Unix_philosophy
<https://en.wikipedia.org/wiki/Unix_philosophy>
Regards,
DG
> On 24 Oct 2023, at 15:22, o1bigtenor via Python-list
> wrote:
>
> Greetings
&g
On 2023-10-24, o1bigtenor via Python-list wrote:
> Is there a way to verify that a program is going to do what it is
> supposed to do even before all the hardware has been assembled and
> installed and tested?
It depends on what you mean by "verify ...". If you want to prov
On 2023-10-24, o1bigtenor wrote:
> Greetings
>
> (Sorry for a nebulous subject but dunno how to have a short title for
> a complex question.)
> [...]
> Is there a way to verify that a program is going to do what it is
> supposed to do even
> before all the hardware has been assembled and installed
On 2023-10-24, Dan Purgert via Python-list wrote:
> On 2023-10-24, o1bigtenor wrote:
>> Greetings
>>
>> (Sorry for a nebulous subject but dunno how to have a short title for
>> a complex question.)
>> [...]
>> Is there a way to verify that a program is g
On 10/24/2023 8:22 AM, o1bigtenor via Python-list wrote:
Greetings
(Sorry for a nebulous subject but dunno how to have a short title for
a complex question.)
I have been using computers for a long time but am only beginning my
foray into the
galaxy of programming. Have done little to this
On 2023-10-24, Thomas Passin via Python-list wrote:
> Something less ambitious than a full proof of correctness of an
> arbitrary program can sometimes be achieved. The programming team
> for the Apollo moon mission developed a system which, if you would
> write your requirements
On 2023-10-24, o1bigtenor via Python-list wrote:
> So how does one test software then?
That's what customers are for!
[Actually, that's true more often than it should be.]
--
https://mail.python.org/mailman/listinfo/python-list
On 24/10/2023 22:51, Grant Edwards via Python-list wrote:
>>> Is there a way to verify that a program is going to do what it is
>>> supposed to do even before all the hardware has been assembled and
>>> installed and tested?
> And the specified customer requiremen
On 25/10/2023 00:08, o1bigtenor via Python-list wrote:
> So how does one test software then?
Testing is very different to proving!
As an industry we do a lot of testing at many different levels.
On bigger projects you'll find:
- Unit tests - testing small fragments of a bigger
On 10/24/2023 7:15 PM, o1bigtenor wrote:
On Tue, Oct 24, 2023 at 6:09 PM Thomas Passin via Python-list
wrote:
snip
By now you have read many responses that basically say that you cannot
prove that a given program has no errors, even apart from the hardware
question. Even if it could be
hird party who might be able
to help you with the open-source software.
Unless your project accepts the realities, why start?
-Original Message-
From: Python-list On
Behalf Of o1bigtenor via Python-list
Sent: Tuesday, October 24, 2023 7:15 PM
To: Thomas Passin
Cc: [email protected]
On Wed, 25 Oct 2023 at 12:11, Thomas Passin via Python-list
wrote:
> This doesn't mean that no program can ever be proven to halt, nor that
> no program can never be proven correct by formal means. Will your
> program be one of those? The answer may never come ...
Indeed,
On Wed, 25 Oct 2023 at 12:20, AVI GROSS via Python-list
wrote:
> Consider an example of bit rot. I mean what if your CPU or hard disk has a
> location where you can write a byte and read it back multiple times and
> sometimes get the wrong result. To be really cautions, you might
On Saturday, October 15, 2016 at 12:27:42 AM UTC-7, Peter Otten wrote:
> [email protected] wrote:
>
> > nums=['3','30','34','32','9','5']
> > I need to sort the list in order to get the largest number string:
> > '953433230'
> >
> > nums.sort(cmp=lambda a,b: cmp(a+b, b+a), reverse=True)
> >
On Wed, 25 Oct 2023 at 13:02, Mike H via Python-list
wrote:
> Is it possible to use lambda expression instead of defining a `Key` class?
> Something like `sorted(my_list, key = lambda x, y: x+y > y+x)`?
Look up functools.cmp_to_key.
ChrisA
--
https://mail.python.org/mailman/listin
your
source code in the original language, that can open up ways others might
find ways to break it, more so than a compiled program that you only can
read in a more opaque way.
-Original Message-
From: Python-list On
Behalf Of Chris Angelico via Python-list
Sent: Tuesday, October 24
On 10/24/2023 7:37 PM, Grant Edwards via Python-list wrote:
On 2023-10-24, Thomas Passin via Python-list wrote:
Something less ambitious than a full proof of correctness of an
arbitrary program can sometimes be achieved. The programming team
for the Apollo moon mission developed a system
On 2023-10-22 7:35 PM, Dieter Maurer via Python-list wrote:
The web server in Python's runtime library is fairly simple,
focusing only on the HTTP requirements.
You might want additional things for an HTTP server
exposed on the internet which should potentially handle high trafic
On Wed, 25 Oct 2023 at 19:00, Frank Millman via Python-list
wrote:
> 2. Instead of running as a stand-alone server, run my app as a
> reverse-proxy using Nginx. I tested this a few years ago using Apache,
> and it 'just worked', so I am fairly sure that it will work with Ngi
On Wed, 25 Oct 2023 at 21:46, o1bigtenor wrote:
> > 2. Catch the failure as you save. We have a lot of tools that can help
> > you to spot bugs.
>
> Tools like this for python please.
Various ones. Type checkers like MyPy fall into this category if you
set your system up to run them when you save
On Wed, 25 Oct 2023 at 21:53, o1bigtenor wrote:
>
> Hmm - - - - now how can I combine 'Hamming codes'
> and a raid array?
>
> TIA
Normally you wouldn't. But let's say you're worried that a file might
get randomly damaged. (I don't think single-bit errors are really a
significant issue wit
o1bigtenor wrote at 2023-10-24 07:22 -0500:
> ...
>Is there a way to verify that a program is going to do what it is
>supposed to do even
>before all the hardware has been assembled and installed and tested?
Others have already noted that "verify" is a very strong aim.
There are different kinds o
Frank Millman wrote at 2023-10-25 09:57 +0200:
> ...
>Based on this, I am considering the following -
>
>1. Replace my HTTP handler with Uvicorn. Functionality should be the
>same, but performance should be improved.
>
>2. Instead of running as a stand-alone server, run my app as a
>reverse-proxy u
On Wed, 25 Oct 2023 at 22:46, o1bigtenor via Python-list
wrote:
>
> On Wed, Oct 25, 2023 at 6:24 AM Dieter Maurer wrote:
> >
> > o1bigtenor wrote at 2023-10-24 07:22 -0500:
> > > ...
> > >Is there a way to verify that a program is going to do what it is
>
o1bigtenor wrote at 2023-10-25 06:44 -0500:
>On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer wrote:
> ...
>> There are different kinds of errors.
>>
>> Some can be avoided by using an integrated development environment
>> (e.g. misspellings, type mismatches, ...).
>
>Haven't heard of a python IDE -
o1bigtenor wrote at 2023-10-25 07:50 -0500:
>> There are several others,
>> e.g. "ECLIPSE" can be used for Python development.
>
>Is 'Eclipse' a Windows oriented IDE?
No.
==> "https://en.wikipedia.org/wiki/Eclipse_(software)"
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-10-25, o1bigtenor via Python-list wrote:
> Haven't heard of a python IDE - - - doesn't mean that there isn't such - -
> just that I haven't heard of such. Is there a python IDE?
Seriously? Now you're just trolling.
google.com/search?q=python+ide&am
On 10/25/2023 9:21 AM, Thomas Passin wrote:
On 10/25/2023 8:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer
wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer
wrote:
...
There are different kinds of
o1bigtenor wrote at 2023-10-25 08:29 -0500:
> ...
>It would appear that something has changed.
>
>Went to the Eclipse download page, downloaded and verified (using sha-512).
>Expanded software to # opt .
>There is absolutely NO mention of anything python - - - java, c and
>its permutations,
>'scien
On 2023-10-24, o1bigtenor wrote:
> On Tue, Oct 24, 2023 at 5:28 PM Rob Cliffe wrote:
>>
>> There is no general way to prove that a program is "correct". Or even
>> whether it will terminate or loop endlessly.
>> [...]
>> When you come to run your program "for real", and you have to
>> troubleshoo
rsutton wrote:
> Hi all,
> I am fairly new to python (ie < 2 years). I have a question about
> pylint. I am running on windows 10/11, python 3.10.11.
[...]
> if p.returncode >= 8:
> raise Exception(f'Invalid result: {p.returncode}')
>
> It actually runs fine. But pylint is
On 10/25/23 05:51, o1bigtenor via Python-list wrote:
> Looks like I have another area to investigate. (grin!)
> Any suggestions?
Seems to me you're trying to run before you have learned to walk.
Slow down, go to the beginning and just learn python, write some code,
see if it runs.
org
Subject: Re: Question(s)
On Tue, Oct 24, 2023 at 9:36 PM AVI GROSS via Python-list
wrote:
>
> Agreed, Chris. There are many methods way better than the sort of RAID
> architecture I supplied as AN EXAMPLE easy to understand. But even so, if a
> hard disk or memory chip is fried or a nuclear
Hello!
I'm pleased to announce version 3.10.3, the 3rd bugfix release of branch
3.10 of SQLObject.
What's new in SQLObject
===
The contributors for this release are
Igor Yudytskiy and shuffle (github.com/shuffleyxf).
Thanks!
Bug fixes
-
* Relaxed aliasing in ``SQLR
On 25/10/2023 12:44, o1bigtenor via Python-list wrote:
> Haven't heard of a python IDE - - - doesn't mean that there isn't such - -
There are literally dozens with varying degrees of smartness.
The big 4 all have Python plugins/environments:
Eclipse, Netbeans, VisualStudio
On 10/25/2023 8:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer wrote:
...
There are different kinds of errors.
Some can be avoided by using an
On Wed, Oct 25 2023 at 11:49:12 AM, rsutton wrote:
> On 10/25/2023 11:06 AM, Stefan Ram wrote:
>> [email protected] (Stefan Ram) writes:
>>> outer quotation marks) prints some prominent exception types. After
>>> manually removing those that do not seem to apply, I am left with:
>>> "Asserti
On 10/25/2023 9:20 AM, Michael F. Stemper via Python-list wrote:
On 24/10/2023 17.50, Thomas Passin wrote:
The programming team for the Apollo moon mission developed a system
which,> if you would write your requirements in a certain way, could
generate correct
C code for them.
Since
On 10/25/2023 11:49 AM, rsutton via Python-list wrote:
On 10/25/2023 11:06 AM, Stefan Ram wrote:
[email protected] (Stefan Ram) writes:
outer quotation marks) prints some prominent exception types. After
manually removing those that do not seem to apply, I am left with:
"Assertion
On 2023-10-25, o1bigtenor wrote:
> On Wed, Oct 25, 2023 at 7:00 AM Dieter Maurer wrote:
>> [...]
>> There are several others,
>> e.g. "ECLIPSE" can be used for Python development.
>
> Is 'Eclipse' a Windows oriented IDE?
> (Having a hard time finding linux related information on the
> website.)
, 2023, at 7:55 AM, o1bigtenor via Python-list
wrote:
On Wed, Oct 25, 2023 at 7:00AM Dieter Maurer
wrote:
o1bigtenor wrote at 2023-10-25 06:44 -0500:
On Wed, Oct 25, 2023 at 6:24?AM Dieter Maurer
wrote:
...
There are different kinds of
ed and new features ofteh added and just fixing one bug can break other
parts so you would need to verify things over and over and then freeze.
-Original Message-
From: Python-list On
Behalf Of Michael F. Stemper via Python-list
Sent: Wednesday, October 25, 2023 9:34 AM
To: python-list@
On 10/26/2023 7:50 AM, o1bigtenor via Python-list wrote:
On Wed, Oct 25, 2023 at 9:10 AM Dieter Maurer wrote:
o1bigtenor wrote at 2023-10-25 08:29 -0500:
...
It would appear that something has changed.
Went to the Eclipse download page, downloaded and verified (using sha-512).
Expanded
Rene Kita wrote:
> rsutton wrote:
>> Hi all,
>> I am fairly new to python (ie < 2 years). I have a question about
>> pylint. I am running on windows 10/11, python 3.10.11.
> [...]
>> if p.returncode >= 8:
>> raise Exception(f'Invalid result: {p.returncode}')
>>
>> It actua
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 pulsatio
On 10/26/23 10:41, Michael Torrie wrote:
> 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 meant to edit that bit out. After doing a bit more research, it
appears remote debugging with MicroPython may not b
On 10/26/23 03:04, Rene Kita via Python-list wrote:
Rene Kita wrote:
rsutton wrote:
Hi all,
I am fairly new to python (ie < 2 years). I have a question about
pylint. I am running on windows 10/11, python 3.10.11.
[...]
if p.returncode >= 8:
raise Exception(f
On 10/26/2023 4:25 PM, o1bigtenor via Python-list wrote:
On Thu, Oct 26, 2023 at 11:43 AM Michael Torrie via Python-list
wrote:
On 10/26/23 06:34, o1bigtenor wrote:
Interesting - - - - ". . . see if it runs." - - - that's the issue!
When the code is accessing sensors there is
On 2023-10-26, o1bigtenor wrote:
> On Wed, Oct 25, 2023 at 10:19 AM Michael Torrie via Python-list
> wrote:
>>
>> On 10/25/23 05:51, o1bigtenor via Python-list wrote:
>> > Looks like I have another area to investigate. (grin!)
>> > Any suggestions?
>>
>
.
-Original Message-
From: Python-list On
Behalf Of o1bigtenor via Python-list
Sent: Thursday, October 26, 2023 8:34 AM
To: Michael Torrie
Cc: [email protected]
Subject: Re: Question(s)
On Wed, Oct 25, 2023 at 10:19 AM Michael Torrie via Python-list
wrote:
>
> On 10/25/23
On 10/26/2023 6:36 PM, AVI GROSS via Python-list wrote:
I am not one for IDLE worship, Tenor. But if you have been getting a message
here, it is that there are an amazing number of programs that support your use
of python during the development phase and perhaps later. I actually often use
an
can follow what it is doing, presents special
challenges.
Now if he ever wants to read in a .CSV file and analyze the data and make
graphs and so on, I might chime in. For now, I am dropping out.
Avi
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent
On
Behalf Of Thomas Passin via Python-list
Sent: Thursday, October 26, 2023 6:50 PM
To: [email protected]
Subject: Re: Question(s)
On 10/26/2023 6:36 PM, AVI GROSS via Python-list wrote:
I am not one for IDLE worship, Tenor. But if you have been getting a
message here, it is that there are
On 25/10/23 2:32 pm, Chris Angelico wrote:
Error correcting memory, redundant systems, and human
monitoring, plus the ability to rewrite the guidance software on the
fly if they needed to.
Although the latter couldn't actually be done with the AGC,
as the software was in ROM. They could poke va
Hi,
I have two applications. One uses the system version of Python, which
is 3.6.8, whereas the other uses Python 3.10.8 installed in a non-system
path. For both applications I am using poetry with a pyproject.toml
file which contains the version information and __init__.py at the root
which con
"Loris Bennett" writes:
> Hi,
>
> I have two applications. One uses the system version of Python, which
> is 3.6.8, whereas the other uses Python 3.10.8 installed in a non-system
> path. For both applications I am using poetry with a pyproject.toml
> file which contains the version information
"Loris Bennett" writes:
> "Loris Bennett" writes:
>
>> Hi,
>>
>> I have two applications. One uses the system version of Python, which
>> is 3.6.8, whereas the other uses Python 3.10.8 installed in a non-system
>> path. For both applications I am using poetry with a pyproject.toml
>> file whic
Loris Bennett wrote at 2023-10-27 09:29 +0200:
> ...
>For the application with the system Python this mechanism works, but for
>the non-system Python I get the error:
>
> NameError: name '__version__' is not defined
If you get exceptions (they usually end in `Error` (such as `NameError`)),
look a
PyDev 11.0.2 Release Highlights
Continuing with the updates to Python 3.12, the new release integrates
the latest version of typeshed (so, *from typing import override* is
now properly recognized).
Also, it's now possible to specify vmargs in the python interpreter
(and not just in the launch co
I am using the python3 smbus module, but it's hard work because of the
lack of documentation. Web searches confirm that the documentation is
somewhat thin!
If you do the obvious this is what you get:-
>>> import smbus
>>> dir (smbus)
['SMBus', '__doc__', '__file__', '__loader__', '__
km wrote:
> Il Sat, 28 Oct 2023 17:08:00 +0100, Chris Green ha scritto:
>
> > I am using the python3 smbus module, but it's hard work because of the
> > lack of documentation. Web searches confirm that the documentation is
> > somewhat thin!
> >
> > If you do the obvious this is what you get:-
Dan Purgert wrote:
> On 2023-10-28, Chris Green wrote:
> > I am using the python3 smbus module, but it's hard work because of the
> > lack of documentation. Web searches confirm that the documentation is
> > somewhat thin!
> >
>
> The SMBus spec is available from http://smbus.org (or at least it
2201 - 2300 of 5863 matches
Mail list logo