str attributes

B

bearophileHUGS

I don't know if this was already discussed. I think that maybe Python
2.5 can add some attributes to the str object:
'0123456789abcdefABCDEF'
etc.

And maybe this too:
str.maketrans(from, to)

(I think string.capwords() isn't important enough to be added too).

Bye,
bearophile
 
B

Bengt Richter

I don't know if this was already discussed. I think that maybe Python
2.5 can add some attributes to the str object:

'0123456789abcdefABCDEF'
etc.

And maybe this too:
str.maketrans(from, to)

(I think string.capwords() isn't important enough to be added too).
I agree. I hope good stuff from string module gets moved
It has been discussed, of course ;-)

go to http://groups.google.com and put

"string module" "str" group:comp.lang.python

in the seach slot.


Regards,
Bengt Richter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top