arc-lib-arodroz-0.0.3
توضیحات
Text tools
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | arc-lib-arodroz-0.0.3 |
| نام | arc-lib-arodroz |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Antonio Rodriguez |
| ایمیل نویسنده | arodroz@icloud.com |
| آدرس صفحه اصلی | https://github.com/arodroz/arc_lib |
| آدرس اینترنتی | https://pypi.org/project/arc-lib-arodroz/ |
| مجوز | - |
# strcpy
Python function allowing to copy a text in another one in a mutable way. That is regardless of whether the latter has enough space to accommodate the former.
## Usage
```python
from arc_lib.text import strcpy
text1 = "Hello"
text2 = strcpy(text1, "world!", 6)
print(text2)
```
```console
Hello world!
```
```python
text2 = strcpy(text1, "world!", 20)
print(text2)
```
```console
Hello world!
```
```python
text2 = strcpy(text1, "world!", 2)
print(text2)
```
```console
Heworld!
```
## Installation
Install this through pip:
```shell
pip install arc_lib
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl arc-lib-arodroz-0.0.3:
pip install arc-lib-arodroz-0.0.3.whl
نصب پکیج tar.gz arc-lib-arodroz-0.0.3:
pip install arc-lib-arodroz-0.0.3.tar.gz