> On 30 Mar 2023, at 22:30, Chris Angelico wrote:
>
> On Fri, 31 Mar 2023 at 08:13, Oscar Benjamin
> wrote:
>>
>>> 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 mod
On Fri, 31 Mar 2023 at 08:13, Oscar Benjamin wrote:
>
> 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
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.
Some questions are more reasonable than others.
If the version of a function used in a package were IDENTICAL to the
built-in, then why have it?
There are many possible reasons a package may tune a function for their own
preferences or re-use a name that ends up blocking the view of another name.
On Thu, 30 Mar 2023 19:22:53 +0200, Roel Schroeven
declaimed the following:
>Either import the things you need explicitly: "from math import sin,
>cos, exp" (for example).
>Or a plain import: "import math" combined with "math.sin", "math.cos".
>Or use an abbreviation: "import math as m" combined
On 2023-03-30, Thomas Passin wrote:
> On 3/30/2023 5:15 AM, Andreas Eisele wrote:
>> [...] I was unpleasantly surprised that math.pow() does not have
>> this feature, hence "from math import *" overwrites the built-in
>> pow() function with a function that lacks functionality. [...]
>
> Not an an
On 3/30/2023 10:17 AM, Sumeet Firodia wrote:
Hi Team,
I have installed Python 3.8 for Snowpark but when I check the version in
command prompt it shows me Python 3.10.10.
C:\Users\admin>python --version
Python 3.10.10
Also when I try to uninstall 3.10 it says no such version is installed.
C:\
On 3/30/2023 5:15 AM, 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. I was unpleasantl
Andreas Eisele schreef op 30/03/2023 om 11:15:
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. I was unpleasa
> On 30 Mar 2023, at 18:11, Barry Scott wrote:
>
>
>
>> On 30 Mar 2023, at 10:15, 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
> On 30 Mar 2023, at 15:17, Sumeet Firodia wrote:
>
>>
>> Hi Team,
>>
>> I have installed Python 3.8 for Snowpark but when I check the version in
>> command prompt it shows me Python 3.10.10.
>>
>> C:\Users\admin>python --version
>> Python 3.10.10
Try this:
py -3.8
And this to list all v
> On 30 Mar 2023, at 10:15, 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, et
On Thursday, 30 March 2023 at 13:19:51 UTC+2, a a wrote:
> On Thursday, 30 March 2023 at 13:14:33 UTC+2, a a wrote:
> > On Thursday, 30 March 2023 at 07:55:13 UTC+2, Christian Gollwitzer wrote:
> > > Am 30.03.23 um 01:11 schrieb a a:
> > > > On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ew
On Thursday, 30 March 2023 at 13:14:33 UTC+2, a a wrote:
> On Thursday, 30 March 2023 at 07:55:13 UTC+2, Christian Gollwitzer wrote:
> > Am 30.03.23 um 01:11 schrieb a a:
> > > On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote:
> > >> On 30/03/23 8:39 am, a a wrote:
> > >>> How to
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. I was unpleasantly surprised that math.pow() does not have thi
On Thursday, 30 March 2023 at 07:55:13 UTC+2, Christian Gollwitzer wrote:
> Am 30.03.23 um 01:11 schrieb a a:
> > On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote:
> >> On 30/03/23 8:39 am, a a wrote:
> >>> How to add clickable url links to the following 3D Matplotlib chart to
> >
Am 30.03.23 um 01:11 schrieb a a:
On Wednesday, 29 March 2023 at 22:51:15 UTC+2, Greg Ewing wrote:
On 30/03/23 8:39 am, a a wrote:
How to add clickable url links to the following 3D Matplotlib chart to make it
knowledge representation 3D chart, make of 1,000+ open Tabs in Firefox ?
It seems t
windhorn writes:
> I have an older laptop I use for programming, particularly Python and
> Octave, running a variety of Debian Linux, and I am curious if there
> is a "standard" place in the file system to store this type of program
> file. OK, I know they should go in a repository and be managed
>
> Hi Team,
>
> I have installed Python 3.8 for Snowpark but when I check the version in
> command prompt it shows me Python 3.10.10.
>
> C:\Users\admin>python --version
> Python 3.10.10
>
> Also when I try to uninstall 3.10 it says no such version is installed.
>
> C:\Users\admin>pip uninstall py
19 matches
Mail list logo