How to Install and Uninstall python2-textwrap3 Package on openSUSE Leap

Last updated: May 15,2024

1. Install "python2-textwrap3" package

This guide covers the steps necessary to install python2-textwrap3 on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-textwrap3

2. Uninstall "python2-textwrap3" package

Please follow the instructions below to uninstall python2-textwrap3 on openSUSE Leap:

$ sudo zypper remove python2-textwrap3

3. Information about the python2-textwrap3 package on openSUSE Leap

Information for package python2-textwrap3:
------------------------------------------
Repository : Main Repository
Name : python2-textwrap3
Version : 0.9.2-bp153.1.17
Arch : noarch
Vendor : openSUSE
Installed Size : 61,8 KiB
Installed : No
Status : not installed
Source package : python-textwrap3-0.9.2-bp153.1.17.src
Summary : Textwrap from Python 3.6 backport (plus a few tweaks)
Description :
Textwrap3 is a compatibility back-port of Python 3.6's textwrap
module that supports Python 2.6 forward. This makes a few new
APIs such as shorten and the max_lines parameter available
in a compatible way to all Python versions typically in current use.
By design, Python 3 sensibilities and expectations rule. Especially when
processing text that includes Unicode characters, textwrap3's results may
differ a bit from those of the textwrap of the underlying Python version
(esp. 2.x). In particular, textwrap3 uses the re.UNICODE flag so that
non-ASCII characters such as accented letters are considered legitimate word
characters.
It also adds one tweak, considering the Unicode em-dash
('\N{EM DASH}' or u'\u2014') identical to the simulated ASCII em-dash
'--'.