On Mon, 2 May 2022 at 11:54, Cameron Simpson wrote:
>
> On 01May2022 23:30, Stefan Ram wrote:
> >Dan Stromberg writes:
> >>But what about Unicode? Are all 10 bytes newlines in Unicode encodings?
> > It seems in UTF-8, when a value is above U+007F, it will be
> > encoded with bytes that always
On 2022-05-02 02:56, Brent Hunter wrote:
Hello,
I was recently running a Windows 10 machine Python 3.9. I simply created a batch file titled "Start-AIG.bat" which
simply contained the following: "pythonw AIG.py". It started a python program titled "AIG.py" and the Python
dialog box was displ
Hello,
I was recently running a Windows 10 machine Python 3.9. I simply created a
batch file titled "Start-AIG.bat" which simply contained the following:
"pythonw AIG.py". It started a python program titled "AIG.py" and the Python
dialog box was displayed on my screen, running all day and n
On 01May2022 23:30, Stefan Ram wrote:
>Dan Stromberg writes:
>>But what about Unicode? Are all 10 bytes newlines in Unicode encodings?
> It seems in UTF-8, when a value is above U+007F, it will be
> encoded with bytes that always have their high bit set.
Aye. Design festure enabling easy resy
On Mon, 2 May 2022 at 09:20, Dan Stromberg wrote:
>
>
> On Sun, May 1, 2022 at 1:44 PM Chris Angelico wrote:
>>
>> On Mon, 2 May 2022 at 06:43, Dan Stromberg wrote:
>> > On Sun, May 1, 2022 at 11:10 AM Chris Angelico wrote:
>> >>
>> >> On Mon, 2 May 2022 at 01:53, Nas Bayedil wrote:
>> >> > We
On Mon, 2 May 2022 at 09:19, Dan Stromberg wrote:
>
> On Sun, May 1, 2022 at 3:19 PM Cameron Simpson wrote:
>
> > On 01May2022 18:55, Marco Sulla wrote:
> > >Something like this is OK?
> >
>
> Scanning backward for a byte == 10 in ASCII or ISO-8859 seems fine.
>
> But what about Unicode? Are al
On Sun, May 1, 2022 at 1:44 PM Chris Angelico wrote:
> On Mon, 2 May 2022 at 06:43, Dan Stromberg wrote:
> > On Sun, May 1, 2022 at 11:10 AM Chris Angelico wrote:
> >>
> >> On Mon, 2 May 2022 at 01:53, Nas Bayedil wrote:
> >> > We believe that using this method to develop completely new, fast
On Sun, May 1, 2022 at 3:19 PM Cameron Simpson wrote:
> On 01May2022 18:55, Marco Sulla wrote:
> >Something like this is OK?
>
Scanning backward for a byte == 10 in ASCII or ISO-8859 seems fine.
But what about Unicode? Are all 10 bytes newlines in Unicode encodings?
If not, and you have a hu
On 01May2022 18:55, Marco Sulla wrote:
>Something like this is OK?
[...]
>def tail(f):
>chunk_size = 100
>size = os.stat(f.fileno()).st_size
I think you want os.fstat().
>positions = iter(range(size, -1, -chunk_size))
>next(positions)
I was wondering about the iter, but this mak
On Mon, 2 May 2022 at 01:53, Nas Bayedil wrote:
> We believe that using this method to develop completely new, fast
> algorithms, approaching the speed of the famous *QuickSort*, the speed of
> which cannot be surpassed, but its drawback can be circumvented, in the
> sense of stack overflow, on so
This probably should start out as a module on Pypi.
Is the sorting stable? Python guarantees that.
On Sun, May 1, 2022 at 8:53 AM Nas Bayedil wrote:
> *Dear, Sir/Madam*
>
>
> Let me first tell you briefly who we are and where we are from, what we do.
>
> My name is Nas (full name Nasipa Bayedil
I suppose you should write to python-...@python.org , or in
https://discuss.python.org/ under the section Core development
--
https://mail.python.org/mailman/listinfo/python-list
Something like this is OK?
import os
def tail(f):
chunk_size = 100
size = os.stat(f.fileno()).st_size
positions = iter(range(size, -1, -chunk_size))
next(positions)
chunk_line_pos = -1
pos = 0
for pos in positions:
f.seek(pos)
chars = f.read(chunk_si
*Dear, Sir/Madam*
Let me first tell you briefly who we are and where we are from, what we do.
My name is Nas (full name Nasipa Bayedil) from Kazakhstan.
In December 2020, we registered a company online in Dover, Delaware, the
United States, because all major corporations are based in the United
14 matches
Mail list logo