A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-November/010715.html below:

[Python-Dev] A house upon the sand)

string methods (was Re: [Python-Dev] A house upon the sand) string methods (was Re: [Python-Dev] A house upon the sand)Fredrik Lundh fredrik@effbot.org
Mon, 27 Nov 2000 02:30:10 +0100
Charles wrote:
> On the other hand it is not clear to me why "capwords" and "zfill" did
> not become methods of string objects. 

fwiw, they were both present in my original unicode
implementation:

>>> from unicode import unicode
>>> a = unicode("hello world")
>>> a.capwords()
'Hello World'
>>> a.zfill(20)
'000000000hello world'

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4