Converts new template string (t-string)(in python 3.14) to normal string
Project description
🧩 t2string
Convert Python 3.14’s t strings (template strings) into normal strings — quickly and easily.
✨ Overview
Starting with Python 3.14, a new string literal prefix t was introduced for template strings,
(Note That Convert all int values to str values then pass for t2string as it will give error if int entered)
such as:
from t2string import t2string
owner = "Yuvneil"
age = 20
msg = t"Hi {owner} boss, you are {str(age)}"
print(msg)
print(t2string(msg))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file t2string-0.1.5.tar.gz.
File metadata
- Download URL: t2string-0.1.5.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24c59cea991244dc66185b0e4663a18736746a95812293d5be3c12c3f1dbde7e
|
|
| MD5 |
e3653962808b8db3fae81a724614827e
|
|
| BLAKE2b-256 |
39280b24747591f05cc8dfd32aee68c984f14aa502669ada5c2611f44fec45ce
|
File details
Details for the file t2string-0.1.5-py3-none-any.whl.
File metadata
- Download URL: t2string-0.1.5-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
398dfa7b69b3ef99108e86727cc35c21f15181e6e64715f8a897004031812f40
|
|
| MD5 |
a1d7775543a5c8ee42337670c7b6a647
|
|
| BLAKE2b-256 |
a40b23db9a237a7797f8747401395cb76b86b665d1e9f0b4c5a3a6e2879b508a
|