>-Original Message-
>From: Python-list muenchen...@python.org> On Behalf Of Bernd Lentes via Python-list
>Sent: Friday, August 11, 2023 12:01 PM
>To: Terry Reedy
>Cc: Python ML (python-list@python.org)
>Subject: RE: problems installing Python 3.11
Hi,
I read the
>-Original Message-
>From: Terry Reedy
>Sent: Thursday, August 10, 2023 9:55 PM
>To: Bernd Lentes
>Subject: Re: problems installing Python 3.11
>
>On 8/10/2023 3:28 PM, Bernd Lentes via Python-list wrote:
>
>Private response because cannot post at present.
>
ests:
test___all__ test_cppext
Total duration: 28 min 23 sec
Tests result: FAILURE then FAILURE
make: *** [Makefile:1798: test] Error 2
=
I'm not very familiar with compiling software, normally I use the packages from
my distro.
Can you help me ? Or maybe there is no big problem, after
irsh define ..."
Can i use all the possibilities i have in virsh in that libvirt-package ?
I'm also creating logfiles, deleting files, sending e-Mails, redirecting stdout
and stderr.
This shouldn't be a problem in Python ?
Thanks.
Bernd
--
Bernd Lentes
Systemadministrati
gt; {
> while (1)
> {
>
> if ()
>goto error:
>
> return;
>
> error:
>
> }
> }
foo()
{
int done = 0;
while (! done)
{
if () {
} else {
done = 1;
functions but just chunks... I don't know, looks bad.
Organising code in a bunch of small functions is by far better coding
style and better readable than put it all together in one chunk. And
that holds for all programming languages, not only for Python.
Bernd
--
Die Antisemiten vergeben e
If I am correct you might want to spend your time instead learning the
> argparse module:
> https://docs.python.org/3/library/argparse.html
> https://docs.python.org/3/howto/argparse.html
He should switch to argparse in any case because getopt is no longer
supported and does only receive bugfi
On 2016-12-20, Xristos Xristoou wrote:
> I have a PostGIS database with shapefiles lines, polygons and points
> and I want to create a topology rules with python. Any idea how to do
> that ?some packages ?
http://www.gdal.org/
or:
pip install gdal
Bernd
--
no time toulouse
gramming language before closer evaluating the problem.
Bernd
--
No time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
On 2016-08-06, Chris Angelico wrote:
> On Sun, Aug 7, 2016 at 5:37 AM, Bernd Nawothnig
> wrote:
>>> But SQL's NULL is a cross between C's NULL, IEEE's NaN, Cthulhu, and
>>> Emrakul.
>>
>> SQL NULL has the semantic of "unknown". So if on
s
unknown too. And that means NULL.
That is also the reason why you have the keyword STRICT when declaring
a function in PostgreSQL. If only one parameter of the function is
NULL and the result depends directly on the parameter the planner can
then automatically skip the function call completely u
Mark Lawrence schrieb:
> The wonderful http://docopt.org/ makes this type of thing a piece of
> cake. I believe there's a newer library that's equivalent in
> functionality to docopt but I can never remember the name of it, anybody?
Never used it, but "Click" is another choice: http://click.po
fele.net/maps/tz/world/
Download the data and use pyshp and/or gdal/ogr for the lookup.
It may not be as simple as you wanted it to be, but it is possible.
Bernd
--
no time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
lock. Does anyone use it?
Yes. It comes directly from MySQL and is written in pure Python. For
that it may not be the fastest solution but it works.
Tested with Python 3.2
Bernd
--
no time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
hscl/
So there is at least a chance if you want to (or have to) use "official"
packages from the distributor.
Regards,
Bernd
--
https://mail.python.org/mailman/listinfo/python-list
ter ('dummy')
a.start ()
The run() dosn't work. I can't register the COM event. Have You a solution
for this?
The claas tester works without self.__env_event =
win32com.client.WithEvents (self.__var, Tester).
Regards,
Bernd
--
https://mail.python.org/mailman/listinfo/python-list
Michael Torrie schrieb:
> I should add, that the only correct way to package Python 3 on RHEL 6 is
> by making the package called "python3" or something that won't collide
> with the system Python 2.x package.
Another option for Fedora and RHEL6: Software Collections
http://developerblog.redh
code not actually being as indented as it looked:
>
> https://www.imperialviolet.org/2014/02/22/applebug.html
The way Perl or Go handles it where it is not possible to omit the
curly braces would have prevented the same error too.
Bernd
--
no time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
, (0.06,), (0.07,),
>>> (0.08,), (0.09,), (0.1,), (0.11,))
>>> a
((0.0,), (0.01,), (0.02,), (0.03,), (0.04,), (0.05,), (0.06,), (0.07,),
(0.08,), (0.09,), (0.1,), (0.11,))
>>>
#v-
Bernd
--
no time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
line < 6:
> reader.next()
> line++
> # process the CSV
#v+
def Read_CSV_File(filename):
with open(filename) as f:
for line,row in enumerate(csv.DictReader(f)):
if line >= 6:
# process the CSV
#v-
Bernd
--
no time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
tely (for example two steps forward, one backward, two steps
> forward).
Simply write a class with these methods. Where is the problem?
Bernd
--
no time toulouse
--
https://mail.python.org/mailman/listinfo/python-list
D. Xenakis schrieb:
> I've played with putty to achieve this but to be honest i'd like
> something more efficient. Opening putty everytime and making all the
> connection settings etc, and then running the programm, is kinda messy.
> Id like this to be done in an automatic way from the program so
On 2012-08-12, Paul Rubin wrote:
>> which can be simplified to:
>> for x in range(len(L)//2 + len(L)%2):
>
> for x in range(sum(divmod(len(L), 2))): ...
nice solution.
Bernd
--
"Die Antisemiten vergeben es den Juden nicht, dass die Juden Geist
haben - und Geld
ngineering and scientific
computing - some random examples: numpy, Sage, matplotlib, NetworkX.
Regards,
Bernd
--
http://mail.python.org/mailman/listinfo/python-list
pendent. It's /what's going on/ that's
>> implementation-dependent.
>> "a is b" is true iff 'a' and 'b' are the same object. Why should 'is'
>> lie to the user?
>
> Whether a and b are the same object is implementation-d
On 2012-04-22, Steven D'Aprano wrote:
> On Sat, 21 Apr 2012 14:48:44 +0200, Bernd Nawothnig wrote:
>
>> On 2012-04-20, Rotwang wrote:
>>> since a method doesn't assign the value it returns to the instance on
>>> which it is called; what it does to the
On Sat, Apr 21, 2012 at 03:43:03PM -0400, Dave Angel wrote:
> On 04/21/2012 09:48 AM, Bernd Nawothnig wrote:
> > On Sat, Apr 21, 2012 at 09:21:50AM -0400, Dave Angel wrote:
> >>>>>>> [] is []
> >>>> False
> >>> Same for that.
> >>
side effects are.
> Mine was a justification (maybe opinable) of why append was designed
> that way.
Ok, understood and accepted
Bernd
--
"Die Antisemiten vergeben es den Juden nicht, dass die Juden Geist
haben - und Geld." [Friedrich Nietzsche]
--
http://mail.python.org/mailman/listinfo/python-list
ts and I know that letting append return self
would not make Python a purely functional language with only immutable
data.
I just asked a simple question about a detail I personally would
consider it to be useful.
Please no further religious war about that ;-)
Bernd
--
"Die Antisemiten verg
t; Is this what it should be or maybe yielding unified result is better?
See above.
Bernd
--
"Die Antisemiten vergeben es den Juden nicht, dass die Juden Geist
haben - und Geld." [Friedrich Nietzsche]
--
http://mail.python.org/mailman/listinfo/python-list
#x27;, 'y', 'z'].
That is the way I expect any append to behave.
Bernd
--
"Die Antisemiten vergeben es den Juden nicht, dass die Juden Geist
haben - und Geld." [Friedrich Nietzsche]
--
http://mail.python.org/mailman/listinfo/python-list
On 25 Jul., 00:50, entr...@web.de wrote:
> On 7 Jun., 19:48, swirler...@googlemail.com wrote:
> , schnell geld verdienenwww.novocasinos.de
> http://www.novocasinos.de
> http://casino-pirat.de
> www.casino-pirat.de
> www.novocasinos.de
> http://www.novocasinos.de
> > *www.novocasinos.de
> > *http://
On 2009-01-31, AJ Ostergaard wrote:
> Thanks for that but why:
>>>> '' and True
> ''
> Surely that should be False?!?
It is:
#v+
>>> bool('' and True)
False
#v-
Bernd
--
No time toulouse
--
http://mail.python.org/mailman/listinfo/python-list
certificates itself (who signed it and what is the
validation period, i.e. meta data).
Can someone please help me out here !?
(I know we should better setup a database with
validation dates, but believe me, we didn’t succeed in it)
Thanks in advance for any help or tip
Regards
Bernd
gcc 3.4.
Simply try it.
Bernd
--
Those who desire to give up freedom in order to gain security,
will not have, nor do they deserve, either one. [T. Jefferson]
--
http://mail.python.org/mailman/listinfo/python-list
Yes, I understood you perfectly well.
> I need to be able to insert the luser variable deep in the middle of
> that.
luser will replace the '%s' in my version. Just try it!
Bernd
--
Those who desire to give up freedom in order to gain security,
will not have, nor do they deser
On 2005-05-16, plsullivan wrote:
> If I follow your response Bernd, it looks like you interpreted that as
> several lines. It actually should all be on one line. That's what made
> me wonder if there is a line continuation character.
The lines are concatenated to one string as I
age_conversion("'Database
> [EMAIL PROTECTED]'
> POLYGON", prcl83, "", "DOUBLE") % luser
You poosibly meant something like that:
#v+
gp.FeatureclassToCoverage_conversion("'Database"
"[EMAIL PROTECTED]'"
"POLY
will increase in the future.
It is just the beginning ...
Bernd
--
Software is like sex: it's better when it's free [Linus Torvalds]
--
http://mail.python.org/mailman/listinfo/python-list
ed to this argument I have no objection.
> Glad to hear it.
>> Lisp is far from being ugly ;-)
> Your words not mine.I never said it was ugly.
> Lisp is beautiful but Python isn't Lisp, and the () *are* getting
> overloaded.
Understood and accepted.
Bernd
--
Those wh
On 2005-05-15, [EMAIL PROTECTED] wrote:
> Lese selbst:
> http://www.heise.de/newsticker/meldung/59427
Ja, schlimm.
Trotzdem ist das hier
a) eine englischsprachige NG und
b) geht es hier um die Programmiersprache Python
Lass es also bitte endlich!
Bernd
--
Those who desire to g
wadays it is starting to
> look like lisp.
Lisp is far from being ugly ;-)
Bernd
--
Those who desire to give up freedom in order to gain security,
will not have, nor do they deserve, either one. [T. Jefferson]
--
http://mail.python.org/mailman/listinfo/python-list
uot;, "copyright", "credits" or "license" for more information.
>>> def foo():
>>> ... return 1,2,3
>>> ...
>>> (a,b,c)=foo()
>>> print a,b,c
1 2 3
>>>
works.
Of course, you can omit the ():
>>> a,b,
On 2005-05-14, Philippe C. Martin wrote:
> You're thinking you're passing the arguments as reference
That is the way Fortran handles them:
[...]
>> Right now I'm taking a simple program I wrote in Fortran
Bernd
--
Those who desire to give up freedom in order to
On 2005-05-14, David wrote:
> abc(x,y,dotp,sumx,maxv)
(x,y,dotp,sumx,maxv) = abc(x,y,dotp,sumx,maxv)
Bernd
--
Those who desire to give up freedom in order to gain security,
will not have, nor do they deserve, either one. [T. Jefferson]
--
http://mail.python.org/mailman/listinfo/pyt
0] = 4
That should alter a[0].
> But
>
> def foo():
> global a
> for n in range(len(a)):
> a[n] = a[n]*2
>
> Doesn't work either...
It does. Test it again.
Bernd
--
Those who desire to give up freedom in order to gain security,
will not have, nor do they
, and the problem is that there isn't a free QT on Windows.
Bernd
--
http://mail.python.org/mailman/listinfo/python-list
47 matches
Mail list logo