On Tue, 21 Jun 2022 at 08:01, dn wrote:
>
> On 21/06/2022 09.47, Roel Schroeven wrote:
> ...
>
> > So we have an untrustworthy site that's the only one to claim that
> > CPython is short for Core Python, and we have an official site that says
> > CPython is so named because it's written in C. Hm,
On Wed, 15 Jun 2022 04:47:31 +1000, Chris Angelico wrote:
> Don't bother with a main() function unless you actually need to be
> able to use it as a function. Most of the time, it's simplest to
> just have the code you want, right there in the file. :) Python
> isn't C or Java, and code doesn't
Dude, it's called CPython for a reason.
--
https://mail.python.org/mailman/listinfo/python-list
Às 16:40 de 20/06/22, Dennis Lee Bieber escreveu:
On Mon, 20 Jun 2022 15:54:29 +0100, Paulo da Silva
declaimed the following:
Às 15:07 de 19/06/22, jan Anja escreveu:
Dude, it's called CPython for a reason.
IMHO CPython means Core Python, not C Python.
It is, as I recall, a term
On Mon, 20 Jun 2022 20:01:51 +0100, Paulo da Silva
declaimed the following:
>Not so "unconfirmed"!
>Look at this article, I recently read:
>https://www.analyticsinsight.net/cpython-to-step-over-javascript-in-developing-web-applications/
>
>There is a sentence in ther that begins with "CPython,
On Tue, 21 Jun 2022 at 06:31, Stefan Ram wrote:
>
> Paulo da Silva writes:
> >Do you have any credible reference to your assertion "The "C" in
> >"CPython" stands for C."?
>
> Whether a source is considered "credible" is something
> everyone must decide for themselves.
>
> I can say that
I coded an application with a 64-bit executable using cython with the embed
option and gcc and I received a traceback showing the path to my python
installation. Is that normal or does that mean the application is going
outside of my executable to my python libraries? I want it portable so it
if
On Mon, 20 Jun 2022 15:54:29 +0100, Paulo da Silva
declaimed the following:
>Às 15:07 de 19/06/22, jan Anja escreveu:
>> Dude, it's called CPython for a reason.
>
>IMHO CPython means Core Python, not C Python.
It is, as I recall, a term for the reference implementation of Python,
which
On Tue, 21 Jun 2022 at 06:16, Leo wrote:
>
> On Wed, 15 Jun 2022 04:47:31 +1000, Chris Angelico wrote:
>
> > Don't bother with a main() function unless you actually need to be
> > able to use it as a function. Most of the time, it's simplest to
> > just have the code you want, right there in the
Paulo da Silva schreef op 20/06/2022 om 21:01:
Às 18:19 de 20/06/22, Stefan Ram escreveu:
>The same personality traits that make people react
>to troll postings might make them spread unconfirmed
>ideas about the meaning of "C" in "CPython".
>
>The /core/ of CPython is written
On Tue, 21 Jun 2022 at 07:48, Roel Schroeven wrote:
>
> Paulo da Silva schreef op 20/06/2022 om 21:01:
> > Às 18:19 de 20/06/22, Stefan Ram escreveu:
> > >The same personality traits that make people react
> > >to troll postings might make them spread unconfirmed
> > >ideas about the
On 21/06/2022 10.02, Chris Angelico wrote:
> On Tue, 21 Jun 2022 at 08:01, dn wrote:
>>
>> On 21/06/2022 09.47, Roel Schroeven wrote:
>> ...
>>
>>> So we have an untrustworthy site that's the only one to claim that
>>> CPython is short for Core Python, and we have an official site that says
>>>
Às 18:19 de 20/06/22, Stefan Ram escreveu:
The same personality traits that make people react
to troll postings might make them spread unconfirmed
ideas about the meaning of "C" in "CPython".
The /core/ of CPython is written in C.
CPython is the /canonical/ implementation of
Às 15:07 de 19/06/22, jan Anja escreveu:
Dude, it's called CPython for a reason.
IMHO CPython means Core Python, not C Python.
--
https://mail.python.org/mailman/listinfo/python-list
On 21/06/2022 09.47, Roel Schroeven wrote:
...
> So we have an untrustworthy site that's the only one to claim that
> CPython is short for Core Python, and we have an official site that says
> CPython is so named because it's written in C. Hm, which one to believe?
...and so you can C that the
Hi!
I implemented a part of a script to subtract n months from datetime.
Basically I subtracted n%12 from year and n//12 from the month adding 12
months when it goes<=0. Then used try when converting to datetime again.
So, if the day is for example 31 for a 30 days month it raises a
ValuError
On Tue, 21 Jun 2022 at 12:53, Avi Gross via Python-list
wrote:
>
> I don't even want to think fo what sound a C# Python would make.
Probably about 277 Hz...
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 21 Jun 2022 at 13:12, Paulo da Silva
wrote:
>
> Às 03:20 de 21/06/22, MRAB escreveu:
> > On 2022-06-21 02:33, Chris Angelico wrote:
> >> On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
> >> wrote:
> >>>
> >>> Às 20:01 de 20/06/22, Paulo da Silva escreveu:
> >>> > Às 18:19 de 20/06/22,
On Mon, 20 Jun 2022 15:43:26 -0700 (PDT), Wolfgang Grafen
declaimed the following:
>
>There are numerous examples using "from tklib import *" so I assume it works
>for most. In the tk-tutorial below tklib is used without special explanation,
>so I assume it should be installed by default with
On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
wrote:
>
> Às 20:01 de 20/06/22, Paulo da Silva escreveu:
> > Às 18:19 de 20/06/22, Stefan Ram escreveu:
> >>The same personality traits that make people react
> >>to troll postings might make them spread unconfirmed
> >>ideas about the
Às 03:20 de 21/06/22, MRAB escreveu:
On 2022-06-21 02:33, Chris Angelico wrote:
On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
wrote:
Às 20:01 de 20/06/22, Paulo da Silva escreveu:
> Às 18:19 de 20/06/22, Stefan Ram escreveu:
>> The same personality traits that make people react
>> to
Às 02:33 de 21/06/22, Chris Angelico escreveu:
On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
wrote:
Às 20:01 de 20/06/22, Paulo da Silva escreveu:
Às 18:19 de 20/06/22, Stefan Ram escreveu:
The same personality traits that make people react
to troll postings might make them spread
Hello all,
I am an experienced Python user and struggle with following statement:
>>> from tklib import *
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'tklib'
I tried to import tklib as shown above on following of my Python installations:
Às 20:01 de 20/06/22, Paulo da Silva escreveu:
Às 18:19 de 20/06/22, Stefan Ram escreveu:
The same personality traits that make people react
to troll postings might make them spread unconfirmed
ideas about the meaning of "C" in "CPython".
The /core/ of CPython is written in C.
Here's how my code does it:
import calendar
def add_months(value: date, n: int):
"""Return a date value with n months added (or subtracted if
negative)."""
year = value.year + (value.month - 1 + n) // 12
month = (value.month - 1 + n) % 12 + 1
day = min(value.day,
On 2022-06-21 02:33, Chris Angelico wrote:
On Tue, 21 Jun 2022 at 11:13, Paulo da Silva
wrote:
Às 20:01 de 20/06/22, Paulo da Silva escreveu:
> Às 18:19 de 20/06/22, Stefan Ram escreveu:
>>The same personality traits that make people react
>>to troll postings might make them spread
On 2022-06-20 23:43, Wolfgang Grafen wrote:
Hello all,
I am an experienced Python user and struggle with following statement:
from tklib import *
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'tklib'
I tried to import tklib as shown above on
This leads to the extremely important question of what would an implementation
of Python, written completely in C++, be called?
C++Python
CPython++
C+Python+
DPython
SeaPython?
SeeSeaSiPython
I don't even want to think fo what sound a C# Python would make.
OK, my apologies to all. Being an
28 matches
Mail list logo