Skip to main content

Python strings for humans.

Project description

Python strings for humans.


>>> from strings import string
>>> s = string("Hello, World")
>>> s
'Hello, World'
>>> s.len()
>>> s.length
>>> s.size
>>> s + ", What?"
Traceback (most recent call last):
  File "", line 27, in <module>
    x = s.add(", world")
  File "", line 20, in add
    return self + string(value)
  File "", line 23, in __add__
    raise NotImplementedError("Use add instead")
NotImplementedError: Use add instead
>>> s.add(", What?")
'Hello, World, What?'


Inspired by an April Fool’s Day joke.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for strings, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size strings-0.1.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page