On Thu, 2 Nov 2023 at 15:20, AVI GROSS via Python-list
wrote:
>
> Yes, it would be nice if there was a syntax for sending a test message sort
> of like an ACK that is not delivered to the recipient but merely results in
> some status being sent back such as DELIVERABLE or NO SUCH
>
> On 2023-11-01, Simon Connah via Python-list python-list@python.org wrote:
>
> > I'm building a simple project using smtplib and have a
> > question. I've been doing unit testing but I'm not sure how to check
> > if an email message is valid.
>
On 02Nov2023 17:04, Chris Angelico wrote:
On Thu, 2 Nov 2023 at 15:20, AVI GROSS via Python-list
wrote:
Yes, it would be nice if there was a syntax for sending a test
message sort
of like an ACK that is not delivered to the recipient but merely results in
some status being sent back such as
>
>
> On Thu, 2 Nov 2023 at 05:21, Simon Connah via Python-list
> python-list@python.org wrote:
>
> > Could someone push me in the right direction please? I just want to find
> > out if a string is a valid email address.
>
>
> There is only one way to
>
> On 2023-11-01, Chris Angelico ros...@gmail.com wrote:
>
> > On Thu, 2 Nov 2023 at 05:21, Simon Connah via Python-list
> > python-list@python.org wrote:
> >
> > > Could someone push me in the right direction please? I just want to
> > >
mail has to be in
> order to be bounced. If it was completely wrong it might just swallowed up.
>
Every address is completely separate. There is no "closeness". Just
send email to an address.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 2 Nov 2023 at 17:47, Cameron Simpson via Python-list
wrote:
>
> On 02Nov2023 17:04, Chris Angelico wrote:
> >On Thu, 2 Nov 2023 at 15:20, AVI GROSS via Python-list
> > wrote:
> >> Yes, it would be nice if there was a syntax for sending a test
> >> mess
>
>
> See https://www.linuxjournal.com/article/9585?page=0,0
>
That looks painful to maintain!
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
Thursday, November 02, 2023 at 6:46, Simon Connah via Python-list wrote:
Re: Checking if email is valid (at least in part)
>My goal is to make a simple mailing list platform. I guess I could just send
>email to an address and if it bounces then I can remove it from the database.
That fu
,
> =dn
I'm not sure that would be practical. As I'm setting up a mailing list server I
don't know if someone in the future is going to need to use one of those
aliases and testing manually would be tedious.
Simon.
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-02, D'Arcy Cain wrote:
> On 2023-11-01 17:17, Chris Angelico via Python-list wrote:
>> On Thu, 2 Nov 2023 at 08:09, Grant Edwards via Python-list
>> wrote:
>>> Make sure it has an '@' in it. Possibly require at least one '.'
>>
Chris Angelico writes:
On Thu, 2 Nov 2023 at 15:20, AVI GROSS via Python-list
wrote:
> Yes, it would be nice if there was a syntax for sending a test
> message sort of like an ACK that is not delivered to the recipient
> but merely results in some status being sent bac
On 2023-11-02, dn wrote:
> On 02/11/2023 19.46, Simon Connah via Python-list wrote:
>> [...]
>> My goal is to make a simple mailing list platform. I guess I could
>> just send email to an address and if it bounces then I can remove it
>> from the database. Thing is I
r/bin/pip3 but they're
identical so presuably I can now simply use pip and it will be a
python3 pip.
So, going on from this, how do I do the equivalent of "apt update; apt
upgrade" for my globally installed pip packages?
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-02 02:04, Chris Angelico via Python-list wrote:
On Thu, 2 Nov 2023 at 15:20, AVI GROSS via Python-list
wrote:
Yes, it would be nice if there was a syntax for sending a test message sort
of like an ACK that is not delivered to the recipient but merely results in
some status being
gital signature
--
https://mail.python.org/mailman/listinfo/python-list
Yes, Chris, many things can be used for lesser purposes.
Perhaps this could be like when people automate guessing passwords and one
defense is to stop accepting after N bad guesses till some external method
resets things.
-Original Message-
From: Python-list On
Behalf Of Chris Angelico
consistency. A new package version
may be incompatible to a previous one -- and with other
package you have installed.
I do not think that you would want to auto-upgrade all installed
packages.
--
https://mail.python.org/mailman/listinfo/python-list
a new connection: [Errno 11001]
getaddrinfo failed')': /simple/kivy-deps-gstreamer-dev/" how can I go about
these errors? I am running windows 10
Best Regards
*Owner Zigocut Technologies *
*+256774306868/701067528*
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-02 00:18, AVI GROSS via Python-list wrote:
Yes, it would be nice if there was a syntax for sending a test message sort
of like an ACK that is not delivered to the recipient but merely results in
some status being sent back such as DELIVERABLE or NO SUCH USER or even
MAILBOX FULL.
It
ot;home\""@ (Chris's host.)public.example
for example? And would you be able to do anything with it if you did?
--
https://mail.python.org/mailman/listinfo/python-list
if the new
version of bar was 2.0.0 then "pip list -o" will list it, but you should
not upgrade to it.)
You can do "pip install -I foo", which will pointlessly reinstall foo
and then presumably upgrade bar as well, thus probably getting to the
right result via a rather roundabout route, but I'm not sure if that
does indeed work properly and if it is a reliable and recommended way
of doing things.
--
https://mail.python.org/mailman/listinfo/python-list
or my globally installed pip packages?
I'm not sure what that question has to do with everything that preceded
it, but you don't want to install python packages globally using pip.
Either install them with 'apt', or install them in a virtual environment.
--
https://mail.python.org/mailman/listinfo/python-list
On 11/2/23 00:42, Simon Connah via Python-list wrote:
> Basically I'm writing unit tests and one of them passess in a string
> with an invalid email address. I need to be able to check the string
> to see if it is a valid email so that the unit test passess.
If you truly have mana
s indeed work properly and if it is a reliable and recommended way
> of doing things.
It is a bit of a minefield isn't it. I try to minimise my use of
packages installed using pip for this very reason. Maybe the safest
route would simply be to uninstall everything and then re-install it.
·
--
https://mail.python.org/mailman/listinfo/python-list
.
> Either install them with 'apt', or install them in a virtual environment.
Why in a virtual environment? When I install a package whether from
apt or from pip I want everyone/everything on my system to be able to
use it.
I do only install a few things using pip.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
om pip I want everyone/everything on my system to be able to
> use it.
Because pip barely plays well by itself, let alone with other package
managers at the same time.
> I do only install a few things using pip.
Are they not available in your system's package manager?
I guess you might get away with "sudo -H pip install -U foo"
for a couple of things, if they don't have many dependencies.
--
https://mail.python.org/mailman/listinfo/python-list
ay
>> of doing things.
>
> It is a bit of a minefield isn't it. I try to minimise my use of
> packages installed using pip for this very reason. Maybe the safest
> route would simply be to uninstall everything and then re-install it.
That is literally what I do quite often - completely erase the
virtual env and then re-create it from scratch - because it seems
to be the only / easiest way to upgrade the packages to the latest
versions consistent with given dependencies.
--
https://mail.python.org/mailman/listinfo/python-list
On 11/2/23 04:58, Chris Green via Python-list wrote:
I have a couple of systems which used to have python2 as well as
python3 but as Ubuntu and Debian verions have moved on they have
finally eliminated all dependencies on python2.
So they now have only python3 and there is no python executable
If i wanted an email verifier I would look at open source frameworks and see
how they do it. Django comes to mind.--(Unsigned mail from my phone)
Original message From: Michael Torrie via Python-list
Date: 3/11/23 07:23 (GMT+10:00) To:
python-list@python.org Subject: Re
On Fri, 3 Nov 2023 at 07:17, Jon Ribbens via Python-list
wrote:
>
> On 2023-11-02, Simon Connah wrote:
> > Valid as in conforms to the standard. Although having looked at the
> > standard that might be more difficult than originally planned.
>
> Yes. Almost nobody
recognize most of them properly? That trained
algorithm could be shared and incorporated into your programs either as the
only method, or one you use in special cases.
-Original Message-
From: Python-list On
Behalf Of Mike Dewhirst via Python-list
Sent: Thursday, November 2, 2023 6:31 PM
To
On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
wrote:
> My guess is that a first test of an email address might be to see if a decent
> module of that kind fills out the object to your satisfaction. You can then
> perhaps test parts of the object, rather than everything at onc
and such. These rarely have any dependencies or they are all
the same dependencies as the other I2C device software. So,
hopefully, I won't hit any big problems. I have to say that so far I
haven't been bitten.
I would point out that this is mostly for a headless Beaglebone Black
single board computer (comparable with a Raspberry Pi) with only a
minimal 'console' installation of Debian so it's a pretty minimal
system.
--
Chris Green
·
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-03, Chris Angelico wrote:
> On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
> wrote:
>> My guess is that a first test of an email address might be to see if
>> a decent module of that kind fills out the object to your
>> satisfaction. You can then p
E bad addresses.
-Original Message-
From: Python-list On
Behalf Of Chris Angelico via Python-list
Sent: Friday, November 3, 2023 1:43 AM
To: python-list@python.org
Subject: Re: Checking if email is valid
On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
wrote:
> My guess is that a fi
Am Thu, Nov 02, 2023 at 09:35:43PM - schrieb Jon Ribbens via Python-list:
Regardless of ...
> Because pip barely plays well by itself, let alone with other package
> managers at the same time.
... being true ...
> > I do only install a few things using pip.
>
> Are the
release
by using this constraint file.
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-02, Michael Torrie via Python-list wrote:
> On 11/2/23 00:42, Simon Connah via Python-list wrote:
>
>> Valid as in conforms to the standard. Although having looked at the
>> standard that might be more difficult than originally planned.
>
> You'll have to
>
>
> On 11/2/23 00:42, Simon Connah via Python-list wrote:
>
> > Basically I'm writing unit tests and one of them passess in a string
> > with an invalid email address. I need to be able to check the string
> > to see if it is a valid email so that the
On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote:
On 2023-11-03, Chris Angelico wrote:
On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
wrote:
My guess is that a first test of an email address might be to see if
a decent module of that kind fills out the object to your
>
> On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote:
>
> > On 2023-11-03, Chris Angelico ros...@gmail.com wrote:
> >
> > > On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
> > > python-list@python.org wrote:
> > >
> >
interesting to see what broke when you
tried to use an esoteric email address in the wild. Maybe when I'm bored :D.
Simon.
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
On 11/4/23 02:51, Simon Connah via Python-list wrote:
> Wow. I'm half tempted to make a weird email address to see how many websites
> get it wrong.
>
> Thank you for the link.
Nearly all websites seem to reject simple correct email addresses such
as myemail+sometext@example.d
Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list:
> >So they now have only python3 and there is no python executable in
> >PATH.
>
> FWIW, for this you install the little stub package python-is-python3.
> Especially if you
> want to kee
On 2023-11-03, Karsten Hilbert wrote:
> Am Thu, Nov 02, 2023 at 09:35:43PM - schrieb Jon Ribbens via Python-list:
>
> Regardless of ...
>
>> Because pip barely plays well by itself, let alone with other package
>> managers at the same time.
>
> ... being true
On 2023-11-04, Michael Torrie via Python-list wrote:
> On 11/4/23 02:51, Simon Connah via Python-list wrote:
>
>> Wow. I'm half tempted to make a weird email address to see how many
>> websites get it wrong.
In my experience, they don't have to be very weird at all
On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
Definitely. Syntactic e-mail address "validation" is one of the most
useless and widely broken things on the Interwebs. People who do
anything other than require an '@' (and optionally make you enter the
same @-con
newsletters and much more. Some are inadvertent but the reality is she
stopped using that email as it is now mostly full of SPAM as the others ...
-Original Message-
From: Python-list On
Behalf Of Grant Edwards via Python-list
Sent: Sunday, November 5, 2023 12:39 AM
To: python-list
On 11/5/23 05:32, D'Arcy Cain via Python-list wrote:
On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
Definitely. Syntactic e-mail address "validation" is one of the most
useless and widely broken things on the Interwebs. People who do
anything other than requ
On 2023-11-05, D'Arcy Cain via Python-list wrote:
> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>> Definitely. Syntactic e-mail address "validation" is one of the most
>> useless and widely broken things on the Interwebs. People who do
>> any
On 2023-11-05, D'Arcy Cain wrote:
> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>> Definitely. Syntactic e-mail address "validation" is one of the most
>> useless and widely broken things on the Interwebs. People who do
>> anything other than req
On 2023-11-03, Karsten Hilbert wrote:
> Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via
> Python-list:
>> >So they now have only python3 and there is no python executable in
>> >PATH.
>>
>> FWIW, for this you install the little stub package
On 2023-11-05, Chris Green wrote:
> Jon Ribbens wrote:
>> On 2023-11-03, Karsten Hilbert wrote:
>> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via
>> > Python-list:
>> >> >So they now have only python3 and there is no python execut
which python version is better to be used and how to make sure it works on my
window 10 because i downloaded it and it never worked so I uninstall to do that
again please can you give me the steps on how it will work perfectly
from
Kenny
--
https://mail.python.org/mailman/listinfo/python-list
On 11/5/23 10:34, Grant Edwards via Python-list wrote:
Indeed. There is a tiny but brightly burning kernel of hate in my
heart for web sites (and their developers) that refuse to accept
credit card numbers entered with spaces _as_they_are_shown_on_the_card_!
I've concluded that usin
On 2023-11-05, Grant Edwards wrote:
> On 2023-11-05, D'Arcy Cain via Python-list wrote:
>> On 2023-11-05 00:39, Grant Edwards via Python-list wrote:
>>> Definitely. Syntactic e-mail address "validation" is one of the most
>>> useless and widely brok
Jon Ribbens wrote:
> On 2023-11-03, Karsten Hilbert wrote:
> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via
> > Python-list:
> >> >So they now have only python3 and there is no python executable in
> >> >PATH.
> >>
> &g
rkflow ?
Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
Am Fri, Nov 03, 2023 at 01:53:32PM - schrieb Jon Ribbens via Python-list:
> >> Are they not available in your system's package manager?
> >
> > ... this clearly often answers to "no" for applications of
> > any complexity.
> >
> > Is ther
Am Sun, Nov 05, 2023 at 03:00:41PM + schrieb Chris Green via Python-list:
> > * contact every single maintainer of every single one of the packages
> > that needs updating and persuade them to update their packages and
> > reassure them that you are getting all
On 2023-11-05, Karsten Hilbert wrote:
> Am Fri, Nov 03, 2023 at 01:53:32PM - schrieb Jon Ribbens via Python-list:
>
>> >> Are they not available in your system's package manager?
>> >
>> > ... this clearly often answers to "no" for applic
On 2023-11-05 06:48, Jon Ribbens via Python-list wrote:
Sometimes I think that these sorts of stupid, wrong, validation are the
fault of idiot managers. When it's apostrophes though I'm suspicious
that it may be idiot programmers who don't know how to prevent SQL
injection attac
to discuss this on an `apt` related mailing list.
--
https://mail.python.org/mailman/listinfo/python-list
hell has a landline these days? And
not accepting your mobile number in the landline number field is just when I
give up. Or having a landline only field that does not accept mobile phones.
Simon.
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
On 11/6/23 01:57, Simon Connah via Python-list wrote:
The thing I truly hate is when you have two telephone number fields. One for landline and one for mobile. I mean who in hell has a landline these days?
People who live in places with spotty, or no, mobile coverage. We do exist.
--
https
On 2023-11-06, D'Arcy Cain wrote:
> On 2023-11-05 06:48, Jon Ribbens via Python-list wrote:
>> Sometimes I think that these sorts of stupid, wrong, validation are the
>> fault of idiot managers. When it's apostrophes though I'm suspicious
>> that it may be idi
ng
else for that.
Kind
Christian
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-11-06, Mats Wichmann wrote:
> On 11/6/23 01:57, Simon Connah via Python-list wrote:
>> The thing I truly hate is when you have two telephone number fields.
>> One for landline and one for mobile. I mean who in hell has a
>> landline these days?
>
> People who
https://mail.python.org/mailman/listinfo/python-list
Dieter Maurer via Python-list ezt írta (időpont:
2023. nov. 6., H, 19:13):
> c.bu...@posteo.jp wrote at 2023-11-6 12:47 +:
> >I would like to know how to detect (e.g. via a linter) typos in function
> >names imported from another module.
>
> One option is a test suite (-
On Tue, 7 Nov 2023 at 02:05, Jon Ribbens via Python-list
wrote:
> That was another thing that I used to find ridiculous, but seems to have
> improved somewhat in recent years - website error pages that said "please
> contact us to let us know about this error". I'm sorry
On 11/6/23 08:23, Jon Ribbens via Python-list wrote:
On 2023-11-06, Mats Wichmann wrote:
On 11/6/23 01:57, Simon Connah via Python-list wrote:
The thing I truly hate is when you have two telephone number fields.
One for landline and one for mobile. I mean who in hell has a
landline these days
On Tue, 7 Nov 2023 at 07:10, Mats Wichmann via Python-list
wrote:
> Suggests maybe labeling should be something like:
>
> * Number you want to be called on
> * Number for texted security messages, if different
>
> Never seen that, though :-)
>
My responses would be:
*
Am Mon, Nov 06, 2023 at 01:17:11AM - schrieb Jon Ribbens via Python-list:
> >> >> Are they not available in your system's package manager?
> >> >
> >> > ... this clearly often answers to "no" for applications of
> >> > any
sed application.
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
--
https://mail.python.org/mailman/listinfo/python-list
On 11/6/23 14:28, Karsten Hilbert via Python-list wrote:
I had just hoped someone here might have a handy pointer for
how to deal with modules having to be installed from pip for
use with an apt-installed python-based application.
That just shouldn't happen - such packages are supposed
On Sun, Nov 5, 2023 at 1:23 PM office officce via Python-list <
python-list@python.org> wrote:
> which python version is better to be used and how to make sure it works on
> my window 10 because i downloaded it and it never worked so I uninstall to
> do that again please can you gi
Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list:
> >I had just hoped someone here might have a handy pointer for
> >how to deal with modules having to be installed from pip for
> >use with an apt-installed python-based application.
>
> Th
On 11/6/2023 5:04 PM, Karsten Hilbert via Python-list wrote:
Am Mon, Nov 06, 2023 at 02:43:47PM -0700 schrieb Mats Wichmann via Python-list:
I had just hoped someone here might have a handy pointer for
how to deal with modules having to be installed from pip for
use with an apt-installed
umber into
the landline field or vice versa and reject it, then it can figure out
whether it can text to a given numner or not without you having
to tell it!
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
ve what the customer tells you."
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 7 Nov 2023 at 10:11, Greg Ewing via Python-list
wrote:
>
> On 7/11/23 7:45 am, Mats Wichmann wrote:
> > Continuing with the example, if you have a single phone number field, or
> > let a mobile number be entered in a field marked for landline, you will
> > probabl
forwarded. And, if I do not choose to read my
texts, no amount of sending would enlighten me about your needs. I know
people who get WhatsApp messages but not standard texts, for example.
-Original Message-
From: Python-list On
Behalf Of Chris Angelico via Python-list
Sent: Monday, November 6
hint that "pylint" is able to detect problems like this.
--
https://mail.python.org/mailman/listinfo/python-list
u would need to come up with
> an APT-based installer that doesn't do that.
>
> Obviously it's not unthinkable;
Certainly not, it's just that I had hoped someone goes: look here
and all of this ...
> it is just one more thing to figure out.
... has been thought through before.
Thanks,
Karsten
--
https://mail.python.org/mailman/listinfo/python-list
On 11/7/2023 2:48 AM, Christian Buhtz via Python-list wrote:
Hello Dieter,
thanks for your reply.
Am 06.11.2023 19:11 schrieb Dieter Maurer:
One option is a test suite (--> Python's "unittest" package)
with a sufficiently high coverage (near 100 %).
Yes, that is the prima
On 2023-11-06, Greg Ewing via Python-list wrote:
> On 7/11/23 7:45 am, Mats Wichmann wrote:
>> Continuing with the example, if you have a single phone number field, or
>> let a mobile number be entered in a field marked for landline, you will
>> probably assume you ca
e an 'awk' replacement.
Having said that, you could make it a bit shorter:
py -c "print(sum(int(F.split()[1])for F in open(0)))" https://mail.python.org/mailman/listinfo/python-list
On 2023-11-07 08:40, Grant Edwards via Python-list wrote:
If you, as a web developer, want the user to enter a text-message
capable phone number, then ASK FOR THAT!
And you may as well ask if they even want you to send texts whether they
can technically receive them or not.
--
D'Arc
_UNICODETEXT, "0")
pywintypes.error: (0, 'SetClipboardData', 'No error message is available')
I can get round the problem by using SetClipboardText(). But can anyone
shed light on this?
Best wishes
Rob Cliffe
--
https://mail.python.org/mailman/listinfo/python-list
you had python import sys by default and perhaps even create a
briefer alias for sys.stdin, then this gets shorter:
py -c "import sys; print(sum(int(F.split()[1])for F in sys.stdin))" On
Behalf Of Jon Ribbens via Python-list
Sent: Tuesday, November 7, 2023 11:06 AM
To: python-list@
onder if it makes sense to NOT insist people give you
their email address at all, and make it optional so they do not need to
provide you with something bogus just to go on.
-Original Message-
From: Python-list On
Behalf Of D'Arcy Cain via Python-list
Sent: Tuesday, November 7, 2023 1
enter'],
['Aufg', 2, 4, 'u', '', 'center', 'center'], ['Text', 25, 25, 's', '-',
'left', 'left'], ['Ergänzung', 12, 12, 's', '-', 'left', 'left'],
['Betrag', 13, 13, 's', '', 'right', 'right'], ['W', 1, 2, 's', '',
'center', 'center'], ['WBetrag', 7, 7, 's', '', 'right', 'right'],
['Kurs', 6, 6, 's', '', 'right', 'right']]
0 0 3 4
Traceback (most recent call last):
File "/home/egon/Entw/Geldspur/geldspur/testGeldspurGUI.py", line 15,
in
from tests.testU2 import testU2
File "/home/egon/Entw/Geldspur/geldspur/tests/testU2.py", line 9, in
from gui.GUI_Konfig import GUIcfg
File "/home/egon/Entw/Geldspur/geldspur/gui/GUI_Konfig.py", line 11,
in
class GUIcfg:
File "/home/egon/Entw/Geldspur/geldspur/gui/GUI_Konfig.py", line 90,
in GUIcfg
["%s%s%s " % (i[fCONV_AUSRICHTG], i[fLG2], i[fTYP]) for i in Felder])
File "/home/egon/Entw/Geldspur/geldspur/gui/GUI_Konfig.py", line 90,
in
["%s%s%s " % (i[fCONV_AUSRICHTG], i[fLG2], i[fTYP]) for i in Felder])
NameError: name 'fCONV_AUSRICHTG' is not defined
You see "Felder" and with "0 0 3 4" the correct value 4 for
fCONV_AUSRICHTG. But there is the NameError.
What does mean? Is there a change from python2 to python3?
Egon
--
https://mail.python.org/mailman/listinfo/python-list
On 11/5/2023 7:51 PM, Rob Cliffe via Python-list wrote:
Recently I switched from Python 3.8.3 to Python 3.11.4. A strange
problem appeared which was not there before:
I am using the win32clipboard backage (part of pywin32), and when I use
SetClipboardData() to write text which consists
It doesn't work in python 3.12.0
-Original Message-
From: Python-list On
Behalf Of Thomas Passin via Python-list
Sent: Tuesday, November 7, 2023 12:08 PM
To: python-list@python.org
Subject: Re: Writing to clipboard in Python 3.11
On 11/5/2023 7:51 PM, Rob Cliffe via Python-list
On 11/7/2023 12:47 PM, Egon Frerich via Python-list wrote:
I've no idea why this happens. In a module there are lists and definitions:
Felder = [
# Name lg1 lg2 typ Ausrichtung Holen Prüfen Prüfvorg
["Jahr", 4, 5, "u", "", "
Where do you define fCONV_AUSRICHTG? It must be initialized or defined
somewhere. Did you leave out a statement from the python 2 version?
Sent from my iPhone
> On Nov 7, 2023, at 1:06 PM, Thomas Passin via Python-list
> wrote:
>
> On 11/7/2023 12:47 PM, Egon Frerich via Pytho
why it's called "golf"!
It would be basically insane to use open(0) instead of sys.stdin
like this except where the length of the source code overrides
all other considerations - which is essentially never, unless
playing code golf...
--
https://mail.python.org/mailman/listinfo/python-list
On 11/7/2023 3:29 PM, MRAB via Python-list wrote:
On 2023-11-07 19:20, Jim Schwartz via Python-list wrote:
Where do you define fCONV_AUSRICHTG? It must be initialized or defined
somewhere. Did you leave out a statement from the python 2 version?
It's given its value
2301 - 2400 of 5713 matches
Mail list logo