python_test_version

0
0
0
Python
public

python version project test

Compatibility: 3.10 or newer

Details

In Python 3.10, one of the notable additions to the standard library is the str.removeprefix() and str.removesuffix() string methods.
These methods provide a straightforward way to remove a prefix or suffix from a string, respectively, if it exists.
Prior to Python 3.10, achieving similar functionality required more verbose code or custom utility functions.
The code is main.py will work in Python 3.10 but not in Python 3.8.

How to

Using a compatible python version, just run

pip install -e .
mycommand
v0.3.3[beta]