Write the content of the first written file name into the second written file name and takes any text you give it and writes it directly into the file you specify
Project description
pycopyer
A simple Python package that does two things:
- Copies files — Reads the content from one file and writes it into another file (works with any file type: .txt, .pdf, .jpg, .py, everything!)
- Writes text — Takes any text you give it and writes it directly into the file you specify
Installation
pip install pycopyer
Usage
from pycopyer import write_file
write_file("first-file-name", "-second-file-name")# Copy the content of the first file into the second file
# And when writing the path, you should add r before the first file and before the second file as the following:
write_file(r"first-file-name", r"-second-file-name")
from pycopyer import write_text_into_file
write_text_into_file("the-text-you-want-to-write-here", "the-file-name")# Write the text into the file
# And add r before the written file as the following:
write_text_into_file("the-text-you-want-to-write-here", r"the-file-name")
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
pycopyer-0.2.tar.gz
(2.0 kB
view details)
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 pycopyer-0.2.tar.gz.
File metadata
- Download URL: pycopyer-0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d258f520b7eaa56ac6c3d42e9b29d5777ce058e9895e3eadcac2cae0d91f15f
|
|
| MD5 |
74358f90a8f0c31aeecde5683463366c
|
|
| BLAKE2b-256 |
9d399fd176d5c06bb066a6b0c1f81f81d5b2e02972728dea16769724b798b3c1
|
File details
Details for the file pycopyer-0.2-py3-none-any.whl.
File metadata
- Download URL: pycopyer-0.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82b85db2195f501961100d284f13164a378b7a8c19f7c9c4888e68123625e4fe
|
|
| MD5 |
8f67c29feb6993f775f2c5310d118e9b
|
|
| BLAKE2b-256 |
cb003225a48077353a102dd24991ffd8d27ac820fcca10cf832865b3d5d100e9
|