Re: Formatting a str as a number - Okay, one more related thing...

2024-08-31 Thread MRAB via Python-list

On 2024-08-31 06:31, Gilmeh Serda via Python-list wrote:

On Fri, 30 Aug 2024 05:22:17 GMT, Gilmeh Serda wrote:


f"{int(number):>20,}"


I can find "," (comma) and I can find "_" (underscore) but how about " "
(space)?

Or any other character, for that matter?

Any ideas?

Of course I can do f"{123456:>20_}".replace("_", " "), just thought there
might be something else my search mojo fails on.


The format is described here:

https://docs.python.org/3/library/string.html#formatspec

A space is counted as a fill character.
--
https://mail.python.org/mailman/listinfo/python-list


Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Albert-Jan Roskam via Python-list
   I also think that list/archive isn't working properly. Very little emails.
   Before, this was quite a busy list.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Barry Scott via Python-list



> On 30 Aug 2024, at 23:28, dn via Python-list  wrote:
> 
> Me email (only) client shows a thread of 12 messages.
> 
> The OP was @Gilmeh Serda (from an invalid email address). That appears in the 
> email thread
> 
> @Stefan Ram has had two contributions quoted, but no such original-message 
> has appeared in the thread.
 I see 11 messages and none from Stefan. Maybe replies to off list emails?

Barry

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Ethan Furman via Python-list

On 8/30/24 15:28, dn via Python-list wrote:

> The OP was @Gilmeh Serda (from an invalid email address). That appears in the 
email thread
>
> @Stefan Ram has had two contributions quoted, but no such original-message 
has appeared in the thread.

I can't speak about the archives, but I can say that Stefan's posts are discarded automatically since they are opposed 
to their words showing up on the list.


--
~Ethan~
Moderator
--
https://mail.python.org/mailman/listinfo/python-list


Re: ListAdmin: Is list/archive working correctly?

2024-08-31 Thread Keith Thompson via Python-list
Ethan Furman  writes:
> On 8/30/24 15:28, dn via Python-list wrote:
>> The OP was @Gilmeh Serda (from an invalid email address). That appears in 
>> the email thread
>>
>> @Stefan Ram has had two contributions quoted, but no such original-message 
>> has appeared in the thread.
>
> I can't speak about the archives, but I can say that Stefan's posts
> are discarded automatically since they are opposed to their words
> showing up on the list.

I'm posting this on the comp.lang.python Usenet newsgroup.

Stefan Ram's posts to comp.lang.python include several header lines,
including "X-No-Archive: Yes".  I presume the software that copies
comp.lang.python posts to python-list pays attention to some of those
header lines.  (I personally think it's silly to impose this kind of
restriction.  The Usenet group and the mailing list are both public.)

Lawrence D'Oliveiro adds the string "(Posting On Python-List
Prohibited)" to the subject on his articles, for reasons he has
declined to discuss.  I don't know whether the software recognizes
that.

Can someone who manages the list software discuss the exact
rules?  I suggest that those rules should be documented on
.

-- 
Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
-- 
https://mail.python.org/mailman/listinfo/python-list