On Fri, 18 Apr 2025 at 16:50, Peter J. Holzer via Python-list
wrote:
>
> On 2025-04-18 13:24:28 +1200, Greg Ewing via Python-list wrote:
> > On 18/04/25 9:41 am, Mats Wichmann wrote:
> > > There's just not a really great answer to this.
> >
> > Seems to me a system-installed application shouldn't
On Sun, 22 Dec 2024 at 19:17, Gilmeh Serda via Python-list
wrote:
>
> Was just playing with numbers and stumbled on something I've never seen
> before.
...
>
> >>> 9**9**4
> Traceback (most recent call last):
> File "", line 1, in
> ValueError: Exceeds the limit (4300 digits) for integer string
On Sat, 14 Dec 2024 at 19:02, Mark Bourne via Python-list
wrote:
>
> Martin Ruppert wrote:
> > Hi,
> >
> > the division 0.4/7 provides a wrong result. It should give a periodic
> > decimal fraction with at most six digits, but it doesn't.
> >
> > Below is the comparison of the result of decimal, m
Hi,
For several months I have searched free web hosing in Google, but have not find
a satisfying result now. Any body know some good LAMP free web hosting?
And, I have lost job since 2018, my macbook has only 2 intel core, I want to
buy a new iMac for person programming, but I have only little
(posting on-list this time)
On Thu, 11 Jul 2024 at 15:18, Popov, Dmitry Yu via Python-list
wrote:
>
> Dear Sirs.
>
> Does NumPy provide a simple mechanism to identify relatively prime integers,
> i.e. integers which don't have a common factor other than +1 or -1? For
> example, in case of this
On Sat, 6 Jul 2024 at 11:55, Rob Cliffe via Python-list
wrote:
>
> Consider this scenario (which I ran into in real life):
> I want to open a text file and do a lot of processing on the lines
> of that file.
> If the file does not exist I want to take appropriate action, e.g.
> print an
On Wed, 12 Jun 2024 at 23:52, Greg Ewing via Python-list
wrote:
> On 13/06/24 10:09 am, Chris Angelico wrote:
> > So if anyone
> > actually does need to use pip with Python 2.7, they probably need to
> > set up a local server
>
> You should also be able to download a .tar.gz from PyPI and use p
On Wed, 12 Jun 2024 at 23:11, Chris Angelico via Python-list
wrote:
>
> On Thu, 13 Jun 2024 at 07:57, Oscar Benjamin via Python-list
> wrote:
> > They are seeing a warning that explicitly says "You can upgrade to a
> > newer version of Python to solve this"
On Wed, 12 Jun 2024 at 22:38, AVI GROSS via Python-list
wrote:
>
> The discussion though was about a specific OP asking if they can fix their
> problem. One solution being suggested is to fix a deeper problem and simply
> make their code work with a recent version of python 3.
The OP has not repl
On Sun, 31 Dec 2023 at 00:35, Left Right wrote:
>
> It's not for you to choose the way I communicate. There are accepted
> boundaries, and I'm well within those boundaries. Anything beyond that
> is not something I'm even interested in hearing your opinion on.
You might not be interested in my op
On Fri, 29 Dec 2023 at 22:38, Left Right via Python-list
wrote:
>
> > Then your understanding is flat-out wrong. Encouraging participation
> > by everyone DOES mean deleting what is unproductive, offensive, and
> > likely to discourage participation.
>
> I haven't written anything unproductive or
On Fri, 29 Dec 2023 at 13:04, Left Right via Python-list
wrote:
>
> Wow. That place turned out to be the toxic pit I didn't expect.
>
> It's a shame that a public discussion of public goods was entrusted to
> a bunch of gatekeepers with no sense of responsibility for the thing
> they keep the keys
On Sun, 3 Dec 2023 at 10:25, Julieta Shem via Python-list
wrote:
>
> Alan Bawden writes:
> >
> > def powers_of_2_in(n):
> > bc = (n ^ (n - 1)).bit_count() - 1
> > return bc, n >> bc
>
> That's pretty fancy and likely the fastest.
It might be the fastest but it depends how big you expect
e the package then it’s
worth the couple of sentences or a short paragraph to allow someone that is
unfamiliar with the package to be able to see if they should investigate the
package.
Cryptic names maybe cute, but if they are not descriptive, then they are not
really that helpful other than bei
ake this as the creative criticism that I am offering it as.
- Benjamin
> On May 18, 2023, at 9:37 PM, mee...@meejah.ca wrote:
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> I'm happy to announce txtorcon 23.5.0 with the following changes:
>
>
On Thu, 18 May 2023 at 10:16, Rob Cliffe via Python-list
wrote:
>
> I am trying to learn tkinter.
> Several examples on the internet refer to a messagebox class
> (tkinter.messagebox).
> But:
>
> Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32
> bit (Intel)] on win32
> Typ
On Wed, 3 May 2023 at 18:52, Thomas Passin wrote:
>
> On 5/3/2023 5:45 AM, fedor tryfanau wrote:
> > I've been using python as a tool to solve competitive programming problems
> > for a while now and I've noticed a feature, python would benefit from
> > having.
> > Consider "reversed(enumerate(a))
On Tue, 11 Apr 2023 at 14:55, Mats Wichmann wrote:
>
> On 4/11/23 06:03, Roel Schroeven wrote:
> > Op 11/04/2023 om 12:58 schreef Chris Angelico:
>
> >> Python itself is fine, but a lot of third-party packages are hard to
> >> obtain. So if you need numpy, for instance, or psycopg2, you might
> >>
On Tue, 11 Apr 2023 at 12:01, Chris Angelico wrote:
>
> On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote:
> >
> > What’s the problem now? Is it with python on windows? I use python on
> > windows so I’d like to know. Thanks
> >
>
> Python itself is fine, but a lot of third-party packages are h
On Fri, 31 Mar 2023 at 20:24, Peter J. Holzer wrote:
>
> On 2023-03-31 07:39:25 +0100, Barry wrote:
> > On 30 Mar 2023, at 22:30, Chris Angelico wrote:
> > > It's called math.pow. That on its own should be a strong indication
> > > that it's designed to work with floats.
> >
> > So long as you kn
On Thu, 30 Mar 2023 at 17:31, Andreas Eisele wrote:
>
> I sometimes make use of the fact that the built-in pow() function has an
> optional third argument for modulo calculation, which is handy when dealing
> with tasks from number theory, very large numbers, problems from Project
> Euler, etc.
On Tue, 14 Mar 2023 at 16:27, Alexander Nestorov wrote:
>
> I'm working on an NLP and I got bitten by an unreasonably slow behaviour in
> Python while operating with small amounts of numbers.
>
> I have the following code:
>
> ```python
> import random, time
> from functools import reduce
>
> def
On Tue, 28 Feb 2023 at 20:55, Mats Wichmann wrote:
>
> On 2/27/23 16:42, Oscar Benjamin wrote:
> > On Mon, 27 Feb 2023 at 21:06, Ethan Furman wrote:
> >>
> >> On 2/27/23 12:20, rbowman wrote:
> >>
> >> > "By using Black, you agree to ced
On Mon, 27 Feb 2023 at 21:06, Ethan Furman wrote:
>
> On 2/27/23 12:20, rbowman wrote:
>
> > "By using Black, you agree to cede control over minutiae of hand-
> > formatting. In return, Black gives you speed, determinism, and freedom
> > from pycodestyle nagging about formatting. You will save
On Sat, 18 Feb 2023 at 11:19, Peter J. Holzer wrote:
>
> On 2023-02-18 03:52:51 +, Oscar Benjamin wrote:
> > On Sat, 18 Feb 2023 at 01:47, Chris Angelico wrote:
> > > On Sat, 18 Feb 2023 at 12:41, Greg Ewing via Python-list
> > > > To avoid it you would need
On Sat, 18 Feb 2023 at 01:47, Chris Angelico wrote:
>
> On Sat, 18 Feb 2023 at 12:41, Greg Ewing via Python-list
> wrote:
> >
> > On 18/02/23 7:42 am, Richard Damon wrote:
> > > On 2/17/23 5:27 AM, Stephen Tucker wrote:
> > >> None of the digits in RootNZZZ's string should be different from the
>
On Fri, 17 Feb 2023 at 10:29, Stephen Tucker wrote:
>
> Thanks, one and all, for your reponses.
>
> This is a hugely controversial claim, I know, but I would consider this
> behaviour to be a serious deficiency in the IEEE standard.
[snip]
>
> Perhaps this observation should be brought to the atte
On Tue, 14 Feb 2023 at 07:12, Stephen Tucker wrote:
>
> Hi,
>
> I have just produced the following log in IDLE (admittedly, in Python
> 2.7.10 and, yes I know that it has been superseded).
>
> It appears to show a precision tail-off as the supplied float gets bigger.
>
> I have two questions:
> 1.
ling, it’s the OS and CPU protecting
themselves from overheating.
Usually because the manufacturer didn’t add enough cooling to keep the system
cool enough with a continuous load. (Which to be honest, almost no laptop
designers do, because they assuming you are going to be having a spiky load
instead…
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 20 Jan 2023 at 17:30, Dino wrote:
>
> let's say I have this list of nested dicts:
>
> [
>{ "some_key": {'a':1, 'b':2}},
>{ "some_other_key": {'a':3, 'b':4}}
> ]
>
> I need to turn this into:
>
> [
>{ "value": "some_key", 'a':1, 'b':2},
>{ "value": "some_other_key", 'a':3, '
On Sun, 11 Dec 2022 at 15:55, Chris Green wrote:
>
> Is the only way to read single characters from the keyboard to use
> curses.cbreak() or curses.raw()? If so how do I then read characters,
> it's not at all obvious from the curses documentation as that seems to
> think I'm using a GUI in some
On Mon, 8 Aug 2022 at 19:01, Andreas Croci wrote:
>
> tI would like to write a program, that reads from the network a fixed
> amount of bytes and appends them to a list. This should happen once a
> second.
>
> Another part of the program should take the list, as it has been filled
> so far, every
On Thu, 7 Jul 2022 at 22:55, Michael F. Stemper
wrote:
>
> sum() is wonderful.
>
> >>> nums = [1,2,3]
> >>> sum(nums)
> 6
> >>> product(nums)
> Traceback (most recent call last):
> File "", line 1, in
> NameError: name 'product' is not defined
> >>>
>
> I understand that there i
it for reference.
- Benjamin
> On May 29, 2022, at 3:18 PM, Grant Edwards wrote:
>
> On 2022-05-29, Benjamin Schollnick wrote:
>
>> Why not just right a 3rd party package to normalize the audio levels
>> in the digital file? It’ll be faster, and probably eas
audio level, and then adjusting the volume out of the Smart Speaker is
really doing more than adding complexity.
An all analog solution might be the better route, although finding something
that is inexpensive might be an issue as well.
- Benjamin
> On May 29, 2022, at 11:32 AM,
estions/57925304/how-to-normalize-a-raw-audio-file-with-python
<https://stackoverflow.com/questions/57925304/how-to-normalize-a-raw-audio-file-with-python>
- Benjamin
> On May 29, 2022, at 11:04 AM, Steve GS wrote:
>
>>> From your description, your fundamental pr
On Sat, 26 Feb 2022 at 03:10, Dennis Lee Bieber wrote:
>
> On Fri, 25 Feb 2022 23:06:57 + (UTC), Avi Gross
> declaimed the following:
>
> >I do have to wonder if anyone ever considered adding back enough
> >functionality into base Python to make some additions less needed. Is there
> >any r
On Fri, 25 Feb 2022 at 23:13, Barry wrote:
>
> > On 25 Feb 2022, at 23:00, Richard Damon wrote:
> >
> > On 2/25/22 2:47 PM, Chris Angelico wrote:
> >>> On Sat, 26 Feb 2022 at 05:49, Richard Damon
> >>> wrote:
> >>> On 2/25/22 4:12 AM, BELAHCENE Abdelkader wrote:
> Hi,
> a lot of peop
n be made of Bash, PHP, Perl, and a few other
languages as well.
How many “scripts” have been throw quickly together in Perl, or PHP?
Quite a damn few, yet, would anyone call Wordpress a “script”?
It’s effectively damning with faint praise.
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 3 Feb 2022 at 23:16, Greg Ewing wrote:
>
> On 4/02/22 5:07 am, Albert-Jan Roskam wrote:
> > On Feb 3, 2022 17:01, Dan Stromberg wrote:
> >
> > What profiler do you recommend
>
> If it runs for that long, just measuring execution time should
> be enough. Python comes with a "timeit
On Fri, 17 Dec 2021 at 23:11, Chris Angelico wrote:
>
> On Sat, Dec 18, 2021 at 10:01 AM Oscar Benjamin
> wrote:
> >
> > On Fri, 17 Dec 2021 at 22:40, Chris Angelico wrote:
> > >
> > > On Sat, Dec 18, 2021 at 9:24 AM Oscar Benjamin
> > > wrote:
On Fri, 17 Dec 2021 at 22:40, Chris Angelico wrote:
>
> On Sat, Dec 18, 2021 at 9:24 AM Oscar Benjamin
> wrote:
> > When I timed the result in Julia and in Python I found that the Julia
> > code was slower than the Python code. Of course I don't know how to
> > op
On Fri, 17 Dec 2021 at 15:04, Albert-Jan Roskam wrote:
>
> Hi,
>
> I have a Python program that uses Tkinter for its GUI. It's rather slow so I
> hope to replace many or all of the non-GUI parts by Julia code. Has anybody
> experience with this? Any packages you can recommend? I found three
> a
der will either allow it to
>> run or not.
>> But if there is no reputation (eg no one has ever run it), that’s
>> suspicious. And that’s what you are running into.
>> You can submit the EXE to the defender team, which should allow it to
>> operate properly with
not.
But if there is no reputation (eg no one has ever run it), that’s suspicious.
And that’s what you are running into.
You can submit the EXE to the defender team, which should allow it to operate
properly without any issue.
- Benjamin
> On Nov 29, 2021, at 1:57 PM, Ba
the levels are: 256, 1024, 4096, and 16384.
That can’t be the concurrency/thread count??!?!?!?? I can believe 1,000 -
3,000, outrageously high, but believable. But 16K worth of
concurrency/threads? I doubt that Wikipedia even has to dial it that high?
I have to give them points for providing API latency, and framework overhead….
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
> On Oct 27, 2021, at 1:01 PM, Unixnut wrote:
>
> On 06/10/2021 18:30, Dieter Maurer wrote:
>> Unixnut wrote at 2021-10-3 22:03 +0100:
>>> If I run a python3 program with "import pdb" in the code, would it
>>> execute slower than without loading the debugger?
>> Importing `pdb` does not slow do
On Mon, 11 Oct 2021 at 23:00, Christian Gollwitzer wrote:
>
> Am 10.10.21 um 10:49 schrieb Steve Keller:
> > I have found the sum() function to be much slower than to loop over the
> > operands myself:
> >
> > def sum_products(seq1, seq2):
> > return sum([a * b for a, b in zip(seq1, seq2)])
>
On Sat, 25 Sept 2021 at 02:11, Oscar Benjamin
wrote:
> On Sat, 25 Sept 2021 at 02:01, Chris Angelico wrote:
>
>> On Sat, Sep 25, 2021 at 10:56 AM Oscar Benjamin
>> wrote:
>> >
>> > On Sat, 25 Sept 2021 at 00:37, Greg Ewing
>> > wrote:
>> >
On Sat, 25 Sept 2021 at 02:16, Chris Angelico wrote:
> On Sat, Sep 25, 2021 at 11:11 AM Oscar Benjamin
> wrote:
> >
> > On Sat, 25 Sept 2021 at 02:01, Chris Angelico wrote:
> >>
> >> On Sat, Sep 25, 2021 at 10:56 AM Oscar Benjamin
> >> wrote:
>
On Sat, 25 Sept 2021 at 02:01, Chris Angelico wrote:
> On Sat, Sep 25, 2021 at 10:56 AM Oscar Benjamin
> wrote:
> >
> > On Sat, 25 Sept 2021 at 00:37, Greg Ewing
> > wrote:
> > > I suppose they could be fiddled somehow to make it possible, but
> > &g
On Sat, 25 Sept 2021 at 00:37, Greg Ewing
wrote:
> On 25/09/21 10:15 am, Steve Keller wrote:
> > BTW, I like how the min() and max() functions allow both ways of being
> > called.
>
> That wouldn't work for set.union and set.intersection, because as
> was pointed out, they're actually methods, so
On Fri, 3 Sept 2021 at 13:48, Chris Angelico wrote:
>
> On Fri, Sep 3, 2021 at 10:42 PM jak wrote:
> >
> > Il 03/09/2021 09:07, Julio Di Egidio ha scritto:
> > > On Friday, 3 September 2021 at 01:22:28 UTC+2, Chris Angelico wrote:
> > >> On Fri, Sep 3, 2021 at 8:15 AM Dennis Lee Bieber
> > >> w
How would you measure the steps that it takes?
- Benjamin
> On Jun 22, 2021, at 7:04 PM, Greg Ewing wrote:
>
> On 23/06/21 3:03 am, Kais Ayadi wrote:
>> for n in range(1, 7):
>> print (n)
>> for x in range(0, n):
>> print(" &q
On Fri, 18 Jun 2021 at 15:27, Michael Boom wrote:
> The below issue is pretty serious and it is preventing me from using a
> system I wrote on a larger scale. How do I get this bug fixed? Thanks.
> https://bugs.python.org/issue43329
On Fri, 18 Jun 2021 at 06:07, Alexander Neilson
wrote:
>
>
change, then a
freakin’ computer programming language.
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
pypi.org/> and do a search.
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
to keep updating, because you’ll need
to document every and all edge-cases, and then need to know when one of those
edge cases breaks, etc.
The core concept is documented, and it’s pretty straight-forward.
I’m sorry, but it’s as if he’s arguing for the sake of arguing. It’s starting
to
> character can titlecase to two characters, or to a single character
> that isn't the same as if you uppercase or lowercase it. See examples
> in previous post.
Or Kanji, etc. Where a single character can represent more than one in a
different unicode standard, as I understand.
to upper and lower.
Why should python not offer title in light of this?
> said, I doubt that .title() would make it into Python today if it weren't
> there
> already. I'm having fun with this.
Ah, so while being a bit serious, I’m reading a bit too much into this.
At this point, it’s become an interesting thought experiment for you.
Good luck,
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
there is
no place in the text string to put metadata that would help assist parsing the
string. By definition the text can’t have metadata, since it’s plaintext.
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
eck, how do we prevent it from titlecasing abbreviations? (This is plain text
not XML…. If it was XML it would be easy!)
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
ce it, and petition that it be
moved into the standard library.
Since this seems to be bugging you this much, come up with a solution.
I suspect the problem you are going to have is that in effect you’ll be
creating a multi-language parser, even worse, you may have to add nameparsing
into this.
really simplifies the learning process, and gives you
a foundation to build upon.
- Benjamin
> On Mar 16, 2021, at 8:23 AM, Gys wrote:
>
> On 3/12/21 11:28 AM, Johann Klammer wrote:
>> Specifically ones with quoted strings. I'll have whitespace in
>> there
l LISP programmer.
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 22 Jul 2020 at 02:12, Chris Angelico wrote:
>
> On Wed, Jul 22, 2020 at 11:04 AM Tim Chase
> wrote:
> >
> > I know for ints, cpython caches something like -127 to 255 where `is`
> > works by happenstance based on the implementation but not the spec
> > (so I don't use `is` for comparison
On Sat, 18 Jul 2020 at 05:39, dn via Python-list wrote:
>
> On 18/07/20 3:29 PM, boB Stepp wrote:
> > On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
> > wrote:
> >>
> >> On 18/07/20 1:53 PM, Castillo, Herbert S wrote:
> >>> I downloaded python not to long ago, and today when I opened Python o
re…
If you’re interested feel free to take a look.
- Benjamin
> On Feb 23, 2020, at 5:45 PM, DL Neil via Python-list
> wrote:
>
> Please recommend a library which will manage plug-ins.
>
>
> (Regret that searching PyPi or using a web SE results in an overw
On Sun, 17 May 2020 at 15:21, Mats Wichmann wrote:
>
> On 5/15/20 9:47 PM, Souvik Dutta wrote:
> > I dont know if you should shift from powershell to cmd. Python kinda does
> > not work in powershell.
>
> Powershell has a funky way of looking up programs, with the result that
> you have to type th
hased Python 2 out of their
archives. Users migrated hundreds of millions of lines of code, developed
porting guides, and kept Python 2 in their brain while Python 3 gained 10 years
of improvements.
Finally, thank you to GvR for creating Python 0.9, 1, 2, and 3.
Long live Python 3+!
Sign
On Tue, 14 Apr 2020 at 12:42, Rahul Gupta wrote:
>
> Hello all, i have a csv of 1 gb which consists of 25000 columns and 2
> rows. I want to apply pca so i have seen sciki-learn had inbuilt
> fucntionality to use that. But i have seen to do eo you have to load data in
> data frame. But my m
us know if there are any critical problems at
https://bugs.python.org/
(This is the last chance!)
All the best,
Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 19 Dec 2019 at 07:37, Eli the Bearded <*@eli.users.panix.com> wrote:
>
...
> But what caught my eye most, as someone relatively new to Python but
> with long experience in C in Perl, is sorting doesn't take a
> *comparison* function, it takes a *key generator* function, and that
> function
On Tue, 5 Nov 2019 at 21:52, Gregory Ewing wrote:
>
> Peter J. Holzer wrote:
> > On 2019-11-04 18:18:39 -0300, Luciano Ramalho wrote:
> >
> > Or maybe don't catch it here at all but just let it bubble up until it
> > hits a level where dealing with it makes sense from the user's point of
> > view
nates 2.7.17 as the penultimate
Python 2.7 release. So, be aware that the upstream demise of Python 2 is not
far away.
For the time being, bugs may be reported to https://bugs.python.org.
See you soon for The End,
Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
release schedule, calls for 2.7.17 to be the
penultimate bug fix release of the Python 2.7 series. Time for Python 2 is
running low!
Regards,
Benjamin
2.7 release manager
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 26 Sep 2019 at 13:39, Rhodri James wrote:
>
> On 26/09/2019 13:20, ast wrote:
> >
> > >>> class ClassB(object):
> > ... def __new__(cls, arg):
> > ... print('__new__ ' + arg)
> > ... return object
> > ... def __init__(self, arg):
> > ... print('__init__ ' +
On Thu, 26 Sep 2019 at 14:19, Peter Otten <__pete...@web.de> wrote:
>
> __init__ is called only if __new__ returns an instance of ClassB:
>
> """
> /* If the returned object is not an instance of type,
>it won't be initialized. */
> if (!PyType_IsSubtype(Py_TYPE(obj), type))
>
On Sat, 14 Sep 2019 at 07:22, ast wrote:
>
> Le 14/09/2019 à 04:26, Oscar Benjamin a écrit :
> >
> > What am I missing?
>
> here is a pseudo code for product:
>
> def product(*args, repeat=1):
> # product('ABCD', 'xy') --> Ax Ay Bx By
On Sat, 14 Sep 2019 at 03:26, Oscar Benjamin wrote:
>
> I've been staring at this for a little while:
>
> from itertools import product
>
> class Naturals:
> def __iter__(self):
> i = 1
> while True:
> yield i
> i
I've been staring at this for a little while:
from itertools import product
class Naturals:
def __iter__(self):
i = 1
while True:
yield i
i += 1
N = Naturals()
print(iter(N))
print(product(N)) # <--- hangs
When I run the above the call to product han
gelog for a
full list of changes:
https://raw.githubusercontent.com/python/cpython/v2.7.16/Misc/NEWS.d/2.7.16rc1.rst
Please report any bugs to https://bugs.python.org/.
Regards,
Benjamin
2.7 release manager
(on behalf of all Python 2.7's contributors)
--
https://mail.python.org/mailma
ng to plan, Python 2.7.16 final will be released on March 2.
All the best,
Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 20 Jan 2019 at 21:12, dcs3spp via Python-list
wrote:
>
> Pip 18.1 supports reading pep508 direct urls from install_requires. In future
> release there are plans to deprecate the --process-dependency-links pip
> install option:
> - https://github.com/pypa/pip/issues/4187
> - https://githu
On Sun, 20 Jan 2019 at 16:22, dcs3spp via Python-list
wrote:
>
> On Saturday, 19 January 2019 11:17:19 UTC, dcs3spp wrote:
> >
> > My question is, can setuptools be configured to pull in child from a
> > separate git repository when running python setup.py develop from parent
> > folder? I have
On Fri, 21 Dec 2018 at 09:32, Umar Yusuf wrote:
>
> On Wednesday, 19 December 2018 19:22:51 UTC+1, Oscar Benjamin wrote:
> > On Wed, 19 Dec 2018 at 05:42, Umar Yusuf wrote:
> > >
> > > Hello there,
> > > How do I supper impose an image design on a transpar
On Wed, 19 Dec 2018 at 05:42, Umar Yusuf wrote:
>
> Hello there,
> How do I supper impose an image design on a transparent png image?
>
> I have tried to use OpenCV's "cv2.bitwise_and" function to no success. I
> posted the detail question here:
> https://stackoverflow.com/questions/53791510/pyt
On Sun, 16 Dec 2018 at 01:47, Marc Lucke wrote:
>
> hey guys,
>
> I have a hobby project that sorts my email automatically for me & I want
> to improve it. There's data science and statistical info that I'm
> missing, & I always enjoy reading about the pythonic way to do things too.
>
> I have a
On Sun, 9 Dec 2018 at 16:37, Brian Christiansen
wrote:
>
> I have been messing with a program that is inspried by a video on
> youtube that is about the vizualization of pi. I might make a post
> about that program someday, but I want to talk about something else.
> One of the ways of visualizing
On Wed, 5 Dec 2018 at 07:57, Peter Otten <__pete...@web.de> wrote:
>
> Oscar Benjamin wrote:
> >
> > I'm looking to import a module given a string representing the path to
> > the .py file defining the module.
>
> I am not aware of a clean way. I ha
Hi all,
I'm looking to import a module given a string representing the path to
the .py file defining the module. For example given this setup
mkdir -p a/b/c
touch a/__init__.py
touch a/b/__init__.py
touch a/b/c/__init__.py
touch a/b/c/stuff.py
I have a module a.b.c.stuff which is defined in the
natively in
python?
Licensing? Bad rar file design?
- Benjamin
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, 23 Sep 2018 at 20:45, Gene Heskett wrote:
>
> save the image and locate the centroid of that saved image.
>
> Is there code to do that centroid math in somebodies "bottom desk
> drawer"? Something I could download and control with a bash script which
> I'm fair at?
This is easy enough to
I encounter a dll error message while trying to run python. I uninstalled
the program just to reinstall to find the same problem. Please help as I am
quite new to this.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 7 Sep 2018 at 16:25, Schachner, Joseph
wrote:
>...
> Now, on to the second part: the problem you showed - that you can only loop
> through aList:print(i,j) once - is BECAUSE you hung onto it from one loop to
> another. Once the iterator is exhausted, it's exhausted.
>
> Think of another
On Thu, 6 Sep 2018 at 10:59, Jach Fong wrote:
>
> Here the script file, test0.py:
> --
> password = 'bad'
> if password == 'bad':
> print('bad password')
> exit()
> else:
> print('good password')
>
> print('something else to do')
>
>
On Tue, 28 Aug 2018 at 15:50, Frank Millman wrote:
>
> "Frank Millman" wrote in message news:pm3l2m$kv4$1...@blaine.gmane.org...
> >
> > I know about this gotcha -
> >
> > >>> x = 1.1 + 2.2
> > >>> x
> > 3.3003
> >
> [...]
> >
> > >>> y = 3.3
> > >>> y
> > 3.3
> >
> [...]
> >
> > >>>
On Sun, 26 Aug 2018 at 20:52, Musatov wrote:
>
> Thank you, Richard. If anyone is interested further, even in writing a Python
> code to generate the sequence or further preparing of an animation I would be
> delighted.
It would not take long to write code to plot your sequence if you
first cov
On Sun, 26 Aug 2018 at 20:32, Musatov wrote:
>
> On Sunday, August 26, 2018 at 2:14:29 PM UTC-5, Oscar Benjamin wrote:
> > > > > > > >> On Fri, 24 Aug 2018 14:40:00 -0700, tomusatov wrote:
> > > > > > > >>
> > > &g
On Sat, 25 Aug 2018 at 20:27, Musatov wrote:
>
> On Saturday, August 25, 2018 at 2:18:09 PM UTC-5, Musatov wrote:
> > On Saturday, August 25, 2018 at 1:52:17 PM UTC-5, Oscar Benjamin wrote:
> > > > > >
> > > > > >> On Fri, 24 Aug 2018 14:40:00 -
1 - 100 of 2100 matches
Mail list logo