On Jan 27, 3:06 pm, Peter Pei [EMAIL PROTECTED] wrote:
I probably should mention that what I want is to make all parts of the
string aligned, and look like table. I am not looking for other ways to make
it table-alike, but only interested in making % work with unicode -counting
characters not
Ever heard the word PLONK?
Peter Pei harshly top-posted:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not
contradict that. But it counts the number of bytes instead of
characters, and makes things like %-20s out of
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not contradict
that. But it counts the number of bytes instead of characters, and makes
things like %-20s out of
Peter Pei wrote:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not
contradict that. But it counts the number of bytes instead of
characters, and makes things like %-20s out of alignment. If you don't
understand my
Peter Pei schrieb:
I am using things like %-20s%-60s%-10s in tkinter listbox to make it
look like a table, with mono sized font like lucie system. But this does
not work with data contains Les misérables, because it is unicode, and
one byte is not neccessary one character. Now how can I
I V [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
Yes, it is true that %s already support unicode, and I did not
contradict that. But it counts the number of bytes instead of
characters, and makes things like %-20s out of
Steven D'Aprano [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not
contradict that. But it counts the number of
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not contradict
that. But it counts the
On Sun, 27 Jan 2008 16:00:42 +, Peter Pei wrote:
Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support
I am using things like %-20s%-60s%-10s in tkinter listbox to make it look
like a table, with mono sized font like lucie system. But this does not work
with data contains Les misérables, because it is unicode, and one byte is
not neccessary one character. Now how can I resolve this issue?
My
I probably should mention that what I want is to make all parts of the
string aligned, and look like table. I am not looking for other ways to make
it table-alike, but only interested in making % work with unicode -counting
characters not bytes...
--
On Sun, 27 Jan 2008 04:06:45 +, Peter Pei wrote:
I probably should mention that what I want is to make all parts of the
string aligned, and look like table. I am not looking for other ways to
make it table-alike, but only interested in making % work with unicode
-counting characters not
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not contradict
that. But it counts the number of bytes instead of characters, and makes
things like %-20s out of alignment. If you don't understand my assertion,
please don't argue
I just sorted posts by from, and figured out that you are kind of PSF guy...
However that does not make you qualified, I care whether you are capable not
whether you have the time to spend for PSF.
Adios!
==
Peter Pei [EMAIL PROTECTED] wrote in message
For sure I can calculate the number of characters and do the padding myself,
but what's the point, and i surely hope that python does it for me.
Peter Pei [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am using things like %-20s%-60s%-10s in tkinter listbox to make it
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
Yes, it is true that %s already support unicode, and I did not
contradict that. But it counts the number of bytes instead of
characters, and makes things like %-20s out of alignment. If you don't
understand my assertion, please don't argue
On Sun, 27 Jan 2008 05:32:40 +, Peter Pei wrote:
You didn't understand my question, but thanks any way.
Yes, it is true that %s already support unicode, and I did not
contradict that. But it counts the number of bytes instead of
characters, and makes things like %-20s out of alignment.
17 matches
Mail list logo