For the love of dogs, Xah, try to keep up. Aquamacs is an Emacs
distribution that, which not there yet, is at least half way between
"classic" Emacs and a modern Mac UI. You sound ridiculous, like if
you were complaining about Windows not being really graphical, based
on experience with Windows-3
Hi,
The built in zipfile.write doesn't seem to like taking a directory instead of
a filename.
for example:
for each in listofdir:
archive.write(each)
blows up when one of the items listed in listofdir is a subdirectory.
File "/usr/local/lib/python2.4/zipfile.py", line 405,
I have a sort function in a python chess program.
Currently it looks like this:
def sortMoves (board, table, ply, moves):
f = lambda move: getMoveValue (board, table, ply, move)
moves.sort(key=f, reverse=True)
return moves
However I'd really like not to use the lambda, as it slows dow
Den Fri, 02 Mar 2007 21:13:02 +0100 skrev Bjoern Schliessmann:
> Thomas Dybdahl Ahle wrote:
>
>> However I'd really like not to use the lambda, as it slows down the
>> code.
>
> Did you check how much the slowdown is?
Yes, the lambda adds 50%
--
http://mail.pytho
Den Fri, 02 Mar 2007 11:44:27 -0800 skrev Paul Rubin:
> Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes:
>> Do you have any ideas how I can sort these moves the fastest?
>
> One idea: if you're using alpha-beta pruning, maybe you can use
> something like heapq inste
Den Fri, 02 Mar 2007 20:33:45 +0100 skrev Diez B. Roggisch:
> Thomas Dybdahl Ahle schrieb:
>> I have a sort function in a python chess program. Currently it looks
>> like this:
>>
>> def sortMoves (board, table, ply, moves):
>> f = lambda move: getM
Den Fri, 02 Mar 2007 15:20:33 -0800 skrev MonkeeSage:
> On Mar 2, 5:11 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
>> Wouldn't that be just as slow?
>
> Well, I'm not sure about speed, but with the lambda you're creating a
> new callable for f eve
Den Fri, 02 Mar 2007 19:26:08 -0300 skrev Silver Rock:
> Friends,
>
> I don´t see why using classes.. functions does everything already. I
> read the Rossum tutotial and two other already.
>
> Maybe this is because I am only writing small scripts, or some more
> serious misunderstandings of the
Den Fri, 02 Mar 2007 15:32:58 -0800 skrev [EMAIL PROTECTED]:
> I'm trying to extract some data from an XHTML Transitional web page.
> xml.dom.minidom.parseString("text of web page") gives errors about it
> not being well formed XML.
> Do I just need to add something like or what?
As many HTML Tr
Den Fri, 02 Mar 2007 16:27:47 -0800 skrev MonkeeSage:
> On Mar 2, 5:51 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
>> I guess the thing is that I'd have to create a new callable no matter
>> how, as it is the only way to bring the extra variables into the
>&g
Den Fri, 02 Mar 2007 16:46:05 -0800 skrev Paul Rubin:
> Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes:
>> Do you mean that I add my moves something like this?
>>
>> from heapq import heappush, heappop
>> heap = []
>> for move in genAll():
>> hea
Den Sat, 03 Mar 2007 11:26:08 +0100 skrev Diez B. Roggisch:
>> Well, you'd have to define the function inside the sortMoves function,
>> as it is where the variables exists.
>>
>> def sortMoves(board, table, ply, moves):
>> def sortKey(move):
>> return getMoveValue(board, table, ply,
Hi, I have a function, which looks like the following:
connecting = False
def func ():
global connecting
connecting = True
try:
# Do lot of network stuff
except Exception, e:
connecting = False
raise e
This works quite good, but it is a hell to debug. Instea
Den Fri, 23 Mar 2007 07:38:47 -0700 skrev Alex Martelli:
> Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
>> This works quite good, but it is a hell to debug. Instead of getting a
>> log message to the line which originally raised the exception.
> As you see, the traceb
Hi, I've writing a python application in which I'd like to have a small
"ping label", to always tell the current ping time to the server.
It seems however that I have to be root to send those imcp packages, but
I guess there must be a workaround since I can easily use the "ping"
command as ordi
Den Mon, 26 Mar 2007 11:24:34 +0200 skrev Michal 'vorner' Vaner:
> On Mon, Mar 26, 2007 at 08:30:16AM +0200, Thomas Dybdahl Ahle wrote:
>> Do anybody know how to do this in python?
> You need root for that and the ping command is allowed to have them by
> suid bit.
Den Mon, 26 Mar 2007 06:30:04 -0500 skrev Nick Craig-Wood:
> Michael Bentley <[EMAIL PROTECTED]> wrote:
>> On Mar 26, 2007, at 1:30 AM, Thomas Dybdahl Ahle wrote:
>> > It seems however that I have to be root to send those imcp packages,
>> > but I guess there
Hi, I'm writing an application that connects to the internet.
Something like this:
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
af, socktype, proto, canonname, sa = res
try:
self.sock = socket.socket(af, socktype, proto)
Now if the user press the cancel button
Hi, I'm writing a program with a large data stream to which modules can
connect using regular expressions.
Now I'd like to not have to test all expressions every time I get a line,
as most of the time, one of them having a match means none of the others
can have so.
But ofcource there are also
Den Mon, 16 Apr 2007 11:50:40 +0200 skrev Thomas Dybdahl Ahle:
> Hi, I'm writing a program with a large data stream to which modules can
> connect using regular expressions.
>
> Now I'd like to not have to test all expressions every time I get a
> line, as most of the t
Den Tue, 17 Apr 2007 11:59:15 -0700 skrev Paddy:
> On Apr 17, 9:17 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> Paddy schrieb:
>> > you could OR all the individual RE's test them all at once then find
>> > out which matched.
>>
>> > big_re = "|".join( r"(?P<__match_%i__>%s)" % (i, r)
>> >
4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> f = open("test2", "w")
>>> f.write(str(range(10**7)))
>>> f.close()
>>> f = open(&
Hey
I have this pythonapp I'm trying to pack, and I've read in the Gnome
specifications that I should run "update-icon-cache" after install, in
order to get the menus and stuff correctly updated.
Is there a way to specify a (list of) commands to be run after
installation?
--
http://mail.python
Den Sun, 23 Sep 2007 17:28:38 +0200 skrev stef mientki:
> yadin wrote:
>
>> if i were up to make a GUI chich are the advantages of choosing python
>> over matlab or java?
>>
> The best is Delphi,
> second is VB,
That sounds mostly like a personal preference :)
I would certainly suggest Python ver
Hi, I have an application for which I want users to be able to make
themes.
I've planed a rather advanced model (in xml), which gives themes the
option to redefine various drawing methods.
Now I don't want those themes to be able to take over the current user,
but I'd still like the scripts to b
Ken Tilton <[EMAIL PROTECTED]> writes:
> Hopefully it can be a big issue and still not justify a flame war.
>
> Mileages will always vary, but one reason for lambda is precisely not
> to have to stop, go make a new function for this one very specific
> use, come back and use it as the one lambda
[ I pruned the cross-posting down to a reasonable level ]
Ken Tilton <[EMAIL PROTECTED]> writes:
> Thomas F. Burdick wrote:
>
> > This is second-hand, as I don't actually follow Python closely, but
> > from what I've heard, they now have reasonable scoping ru
Ken Tilton <[EMAIL PROTECTED]> writes:
> As for:
>
> > At a syntax-sugar
> > level, for example, Lisp's choice to use parentheses as delimiter means
> > it's undesirable, even unfeasible, to use the single character '(' as an
> > ordinary identifier in a future release of the language.
>
> (def
[EMAIL PROTECTED] writes:
> Alex Martelli wrote:
> > Steve R. Hastings <[EMAIL PROTECTED]> wrote:
> >...
> > > > But the key in the whole thread is simply that indentation will not
> > > > scale. Nor will Python.
> > >
> > > This is a curious statement, given that Python is famous for scaling
Ken Tilton <[EMAIL PROTECTED]> writes:
> No, you do not want on-change handlers propagating data to other
> slots, though that is a sound albeit primitive way of improving
> self-consistency of data in big apps. The productivity win with
> VisiCalc was that one simply writes rules that use other c
Ken Tilton <[EMAIL PROTECTED]> writes:
> David C. Ullrich wrote:
>
> > But duh, if that's how things are then we can't have transitive
> > dependencies working out right; surely we
> > want to be able to have B depend on A and then C
> > depend on B...
> > (And also if A and B are allowed to depen
Hi, I've got some DES encrypted data, for which I know the password.
The problem is that I have to generate an 8byte key from the password.
I use python-crypto-2.0.1.
I also know, that the C# way to do the decryption is:
PasswordDeriveBytes bytes1 = new
PasswordDeriveBytes("passwordString", null);
Den Mon, 15 May 2006 11:32:47 -0700. skrev Paul Rubin:
> Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes:
>> byte[] array2 = bytes1.CryptDeriveKey("DES", "MD5", 0, array1);
>> > Anybody know how to do this in python?
>
> I'm not aware of a
essors implement BSF and BSR calls to do this efficiently.
Is there anyway to access those calls from python?
I'd still have my routine as a fallback on nonsupporting architectures.
--
Med venlig hilsen,
Best regards,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 2008-02-03 at 15:18 +, [EMAIL PROTECTED] wrote:
> what would be the best python GUI toolkit, it must be cross platform.
>
> i have tried gtk, but it interface are real bad and its coding was
difficult
> so i dropped it,
I came from Sving to Gtk, so for me also it was a real brainbreak
code
I don't like dummy, as it is too long. I generelly spend more times
looking into long variable than short ones.
Regards, Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 2008-02-03 at 10:17 -0800, [EMAIL PROTECTED] wrote:
> I'm considering writing a little interpreter for a python-like
> language and I'm looking for name suggestions. :-)
>
> Basically, I don't want to change a whole lot about Python. In fact,
> I see myself starting with the compiler mod
"Does light travel or propagate?"
> He answered: "Depends on how you see light."
> He must have studied philosophy too :-)
Quantum mechanics are closely related to philosophy.
--
Best Regards,
Med Venlig Hilsen,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
I tend to make a lot of mistakes of misspelled variable names.
Is it possible to make python warn me about those at "compile time"?
Very few times I use dynamic variable initialization. I can live with
getting a warning for those as well.
--
Best Regards,
Med Venlig Hilsen,
Thomas
r
k = [i for i in j]
or
from copy import copy
k = copy(j)
or
k = range(6)
--
Best Regards,
Med Venlig Hilsen,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 3, 3:15 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
> On Dec 3, 8:24 am, Jon Harrop <[EMAIL PROTECTED]> wrote:
>
> > My example demonstrates several of Mathematica's fundamental limitations.
>
> enough babble Jon.
>
> Come flying $5 to my paypal account, and i'll give you real code,
> amongest th
On Dec 3, 5:26 pm, Xah Lee <[EMAIL PROTECTED]> wrote:
> Agreed. My paypal address is “xah @@@ xahlee.org”. (replace the triple
> @ to single one.) Once you paid thru paypal, you can post receit here
> if you want to, or i'll surely acknowledge it here.
>
> Here's what i will do:
>
> I will give a v
On Oct 11, 9:19 pm, Jillian Calderon <[EMAIL PROTECTED]>
wrote:
> How do I define a 2d list?
>
> For instance, to define a 4 by 5 list, I wanted to do this:
> n=4
> m=5
> world = [n][m]
> However, it gives me an invalid syntax error saying the index is out
> of range.
Here are some examples of how
On Apr 28, 8:54 am, forrest yang wrote:
> i try to load a big file into a dict, which is about 9,000,000 lines,
> something like
> 1 2 3 4
> 2 2 3 4
> 3 4 5 6
>
> code
> for line in open(file)
> arr=line.strip().split('\t')
> dict[arr[0]]=arr
>
> but, the dict is really slow as i load more d
ython
loads modules; I haven't checked the Python source yet for that one, and
searching for Python and zip or similar always yields tons of links that
use the Python zip or tar module :)
> Regards
> David
Cheers,
Thomas.
--
http://mail.python.org/mailman/listinfo/python-list
5, evenRound(f*.5)) for f in xrange(0,20)]
[(0.0, 0.0),(0.5, 0.0),
(1.0, 2.0), (1.5, 2.0), (2.0, 2.0), (2.5, 2.0),
(3.0, 4.0), (3.5, 4.0), (4.0, 4.0), (4.5, 4.0),
(5.0, 6.0), (5.5, 6.0), (6.0, 6.0), (6.5, 6.0),
(7.0, 8.0), (7.5, 8.0), (8.0, 8.0), (8.5, 8.0),
(9.0, 10.0), (9.5, 10.0)]
--
Best Regard
reduce() is more forgiving:
> reduce(operator.add, ['abc', 'efg'], '' ) # it works
> 'abcefg'
Hm, it works for lists:
sum(([1], [2]), [])
[1, 2]
However I find the seccond argument hack ugly.
Does the sum way have any performance advantages over the reduce way?
--
Best Regards,
Med Venlig Hilsen,
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 20, 5:23 am, candide <[EMAIL PROTECTED]> wrote:
> Excerpt quoted fromhttp://www.astro.ufl.edu/~warner/prog/python.html:
>
> "About Python: Python is a high level scripting language with object
> oriented features.
> (...)
> Python supports OOP and classes to an extent, but is not a full OOP
> But surely the idea behind it will eventually spread. It's really
> just comprehensions generalized over XML and relational datasets, a
> noble goal. Besides, it's main purpose for .NET was to bring
> functional programming to it. Python already has that, somewhat...
it's really any object o
an it is the appropriate answer. Maybe it's only that way on
OHIO. :)
--
Thomas G. Willis
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 24, 4:59 pm, Duncan Booth <[EMAIL PROTECTED]> wrote:
...
> I haven't yet had occasion to use LINQ in anger yet, so I have no idea
> whether its an idea to love or to hate. I do think it is good that C# has
> effectively sprouted list comprehensions (not to mention anonymous types
> and type
eeling the new logo though. But it's better than what I can produce in an svg editor/ -- Thomas G. Willis---
http://i-see-sound.comhttp://tomwillis.sonicdiscord.comAmerica, still more rights than North Korea
--
http://mail.python.org/mailman/listinfo/python-list
e yin/yang idea might be interesting, and maybe would work but the overall shape needs to be more circular to convey that idea better.But I'm no graphic designer
-- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.sonicdiscord.com
America, still more rights than North Korea
--
http://mail.python.org/mailman/listinfo/python-list
ciated.
Thanks--http://mail.python.org/mailman/listinfo/python-listThis might help.
http://www.onlamp.com/pub/a/python/2005/09/01/debugger.html-- Thomas G. Willis---http://i-see-sound.com
http://tomwillis.sonicdiscord.comAmerica, still more rights than North
it's done right, the true
value will be apparent and your users will do the evangelizing for you.
OK, I will now return to my happy place. :)
-- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.sonicdiscord.com
America, still more rights than North Korea
--
http://mail.python.org/mailman/listinfo/python-list
would be considered impossible to play by todays standards.
When I saw Django as a python based web framework, I got a positive vibe from the name of it. But then I'm also a guitarist.
-- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.son
On 19 Mar 2006 13:39:58 -0800, dirvine <[EMAIL PROTECTED]> wrote:
Does anyone know if pycrypto is active at allThis was one of the packages that was updated today on my gentoo box. so, I would say yes.-- Thomas G. Willis---
http://i-see-sound.c
At 03:46 PM 12/30/2010, harijay wrote:
Hi,
I am writing some multithreaded code which aims to automate three
sequential data processing applications and distribute the processing
on my 16GB RAM, 64 bit Ubuntu box running Python 2.6.5
The basic class that orchestrates these jobs use Queue.Queue()
kenny crossposted bullshit over 5 newsgroups again:
> […]
JFTR: *PLONK*
--
http://mail.python.org/mailman/listinfo/python-list
Having (possibly) surveyed all the available pypi config file
modules, I still haven't seen one that allows an obvious and familiar
extension of the strict Windows INI format.
Each INI-style config module seems to enforce the strict rule: each
option in a section must have a different name - n
At 02:47 PM 1/9/2011, Corey Richardson wrote:
On 01/09/2011 03:43 PM, Thomas L. Shinnick wrote:
> Having (possibly) surveyed all the available pypi config file modules, I
> still haven't seen one that allows an obvious and familiar extension of
> the strict Windows INI format.
>
At 02:52 PM 1/9/2011, Stefan Sonnenberg-Carstens wrote:
Am 09.01.2011 21:43, schrieb Thomas L. Shinnick:
Having (possibly) surveyed all the available pypi config file
modules, I still haven't seen one that allows an obvious and
familiar extension of the strict Windows INI format.
Eac
At 10:39 PM 1/24/2011, Jason Swails wrote:
[snip]
Two valuable things I have taken away from this extended
argument: 1) This being my first super-high volume mailing list
with the occasional neurotically opinionated poster, MRAB introduced
me to Godwin's law for the first time. Considering it
At 08:17 PM 1/26/2011, Chris wrote:
I have a class (A, for instance) that possesses a boolean (A.b, for
instance) that is liable to change over an instance's lifetime.
Many of the methods of this class (A.foo, for instance) should not
execute as long as this boolean is false, but should instead
At 05:33 PM 2/3/2011, Westley Martínez wrote:
On Thu, 2011-02-03 at 23:11 +, Steven D'Aprano wrote:
On Thu, 03 Feb 2011 07:58:55 -0800, Ethan Furman wrote:
> Steven D'Aprano wrote:
[snip]
Yes. Is there a problem? All those paths should be usable from Windows.
If you find it ugly to see path
At 09:39 PM 2/9/2011, Rob Warnock wrote:
Harald Hanche-Olsen wrote:
[snip]
Years & years ago, right after I learned about "xargs", I got burned
several times on "find | xargs grep pat" when the file list was long
enough that "xargs" fired up more than one "grep"... and the last
invocation was
At 01:18 PM 2/13/2011, rantingrick wrote:
If any tutorial owners refuse to cooperate we need to remove their
tutorials (and/or links to their tutorials) from the official Python
website forever.
How many tutorials have you written?
In a city I used to live in, a long while ago, ...
You would
UltimatePatriot crossposted twice over 4 off-topic newsgroups without
Followup-To, replying to an obvious troll:
> [...]
One good thing about Usenet is that you don't have to look for people you
can safely put into your killfile; they'll agglomerate automatically.
F'up2 set accordingly
--
Po
=150168>
and my extension to it as part of the Loom system:
<http://www.isi.edu/isd/LOOM/documentation/loom4.0-release-notes.html#Units>
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
0mi
even when the internal representation is in SI units (m/s, s, m).
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
RG writes:
>
> More power to you. What are you doing here on cll then?
This thread is massively cross-posted.
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
nless. Interestingly, that also allows one to treat
percent (%) as a dimensionless unit with a conversion factor of 1/100.
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
"BartC" writes:
> "Thomas A. Russ" wrote in message
> news:ymi1v7vgyp8@blackcat.isi.edu...
> > torb...@diku.dk (Torben ZÆgidius Mogensen) writes:
> >
> >> Trigonometric functions do take arguments of particular units: radians
> >> or
BOOGIEMAN wrote:
Please include "goto" command in future python realeses
I know that proffesional programers doesn't like to use it,
but for me as newbie it's too hard to get used replacing it
with "while", "def" or other commands
Technically, as a newbie you shouldn't know about GOTO at all. So
On 6/7/2023 10:54 AM, Florian Guilbault via Python-list wrote:
Dear Python Technical Team,
I hope this email finds you well. I am reaching out to you today to seek
assistance with an issue I am facing regarding the installation of 'pip'
despite my numerous attempts to resolve the problem.
Recen
On 6/7/2023 6:28 PM, Eryk Sun wrote:
On 6/7/23, Thomas Passin via Python-list wrote:
You have by now seen several responses, and the one most likely to be
helpful is to run pip with
py -m pip
That won't be of any help if pip isn't installed. By default, Python's
instal
On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote:
On Wed, 7 Jun 2023 10:36:22 -0600, Mats Wichmann
declaimed the following:
I'm assuming you checked - say, with Explorer - that pip.exe really is
where you think it is?
Anyway, if you ask a Windows shell (cmd) to locate it, and it
On 6/8/2023 6:23 PM, Eryk Sun wrote:
on 6/8/23, Thomas Passin via Python-list wrote:
It always gets installed, though.
By default, the option to install pip is enabled. It's implemented by
executing ensurepip after the interpreter is installed. However,
ensurepip may silently fail d
On 6/9/2023 1:43 PM, Dennis Lee Bieber via Python-list wrote:
On Thu, 8 Jun 2023 17:22:22 -0400, Thomas Passin
declaimed the following:
On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote:
C:\Users\Owner>
-=-=-
Windows PowerShell
Copyright (C) Microsoft Corporation. All rig
On 6/10/2023 12:32 PM, Eryk Sun wrote:
On 6/10/23, Thomas Passin via Python-list wrote:
We can find pip.exe using good old-fashioned dir (we don't need any
new-fangled Powershell):
C:\Users\tom>dir AppData\Local\Programs\Python /Aa /S /W /B |find
"pip"|find "Scripts&
On 6/10/2023 3:20 PM, Eryk Sun wrote:
On 6/10/23, Thomas Passin via Python-list wrote:
Yes; I didn't want to get too esoteric with commands that are hard to
figure out and remember, because then why not use Powershell, whose
commands are hard to figure out and remember?
Using `dir /s
On 6/12/2023 5:26 AM, Real Live FootBall Tv via Python-list wrote:
I recently Installed and Uninstalled Python, hence the system was trying
to get why I UNINSTALLED python.
I did it because I was going to use it with another application, A VIDEO
EDITING APP, Auto EDITOR but it didn't work for s
quot;? And: is there a simple
workaround available besides disabling case sensitivity (which will
break others)?
--
Thomas
OpenPGP_signature
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
ot case sensitive -- I'm assuming this a bug now. Building
within cygwin (or MSYS, Ubuntu) this works as expected. But there it
does not search for "modules" once and "Modules" at an other place.
On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 20:36:17 schrieb Mats Wichmann via Python-list:
On 6/13/23 12:12, Thomas Schweikle via Python-list wrote:
Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz:
What version of visual studio are you using?
Visual Studio 2022, aka 17.6.2.
What version of python
On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote:
Okay thanks. Meanwhile, I am not tech savvy so I may not say much here.
I followed all the commands as given on the website to install auto
editor standing it on python but after rendering the XML file, I
couldn't open it with my Davinci Res
On 6/13/2023 9:43 PM, gene heskett via Python-list wrote:
On 6/13/23 19:10, Thomas Passin via Python-list wrote:
On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote:
Okay thanks. Meanwhile, I am not tech savvy so I may not say much here.
I followed all the commands as given on the website
one.55566
Resolving deltas: 100% (760802/760802), done.
Updating files: 100% (4488/4488), done.
$ find . -type d -exec fsutil.exe file queryCaseSensitiveInfo {} \;
All directories created by git have caseSensitiveInfo enabled.
core.ignorecase is not regarded in any way. It does not mater if it is
s
ed. This does
not matter if case sensitivity is disabled. It matters if case
sensitivity is enabled! There is no reason MSBUild.exe does it. But it
is done for some paths (as someone else pointed out).
Regards,
--
Inada Naoki
--
Thomas
OpenPGP_signature
Description: OpenPGP di
Am Do., 15.Juni.2023 um 16:28:21 schrieb Eryk Sun:
On 6/15/23, Thomas Schweikle via Python-list wrote:
In this case: not sure what is going on.
Possibly you have a setting configured that affects the behavior of
Git via the MinGW-w64 runtime, such that calling mkdir() ends up
calling
On 6/16/2023 1:40 AM, dn via Python-list wrote:
Have you figured-out a use for the @enum.member and @enum.nonmember
decorators (new in Python 3.11)?
"What's New" says:
Added the member() and nonmember() decorators, to ensure the decorated
object is/is not converted to an enum member.
The PS
On 6/16/2023 7:37 PM, dn via Python-list wrote:
On 16/06/2023 23.47, Thomas Passin via Python-list wrote:
On 6/16/2023 1:40 AM, dn via Python-list wrote:
Have you figured-out a use for the @enum.member and @enum.nonmember
decorators (new in Python 3.11)?
mypy is having trouble with 3.11
On 6/19/2023 10:04 AM, Roel Schroeven via Python-list wrote:
Op 19/06/2023 om 11:44 schreef Peter Slížik:
Thank you, Roel. You've answered all my questions.
> [PEP 519]: ...as that can be represented with typing.Union[str,
bytes, os.PathLike] easily enough and the hope is users
> will slowly
e problems for Cython-generated code.)
- (Hey, fellow core developer, if a feature you find important is
missing from this list, let Thomas know .)
For more details on the changes to Python 3.12, see What's new in Python
3.12 <https://docs.python.org/dev/whatsnew/3.12.html>. The next p
On 6/23/2023 4:16 AM, Andreas Heckel via Python-list wrote:
Hi,
Apologies for potentially mis-using this thread. But I have been struggling
recently making exactly this leap from simple GUI examples to a more elaborate
MVVM concept. Mainly I have been struggling finding nice example python cod
On 6/26/2023 1:46 PM, small marcc via Python-list wrote:
pandas.ExcelWriter
import pandas
This code creates the path to the Excel file where the data will be written. It
checks if the file already exists, and if so, reads the existing data into a
DataFrame. Otherwise, it creates a new empty D
the future.)
- The internal representation of integers has changed in preparation for
performance enhancements. (This should not affect most users as it is an
internal detail, but it may cause problems for Cython-generated code.)
- (Hey, fellow core developer, if a feature you find im
hey will become syntax errors in the future.)
- The internal representation of integers has changed in preparation for
performance enhancements. (This should not affect most users as it is an
internal detail, but it may cause problems for Cython-generated code.)
(Hey, *fellow core develope
On 8/18/2023 5:14 AM, Rob Cliffe via Python-list wrote:
divmod(Decimal("-1"), 60)
It's not divmod per se, but the modulus operation:
from decimal import Decimal
D1 = Decimal(-1)
D1 % 60 # Decimal(-1)
fmod() performs the same way:
from math import fmod
fmod(-1, 60) # -1.0
From the Python d
On 9/1/2023 12:15 PM, Pierre Fortin via Python-list wrote:
Hi,
reversed() results are fine until iterated over, after which the
results are no longer available. This was discovered after using
something like this:
rev = reversed( sorted( list ) )
sr = sum( 1 for _ in rev )
# rev is now destroye
3501 - 3600 of 3800 matches
Mail list logo