Less line to read&write text file
Project description
LessLine
Less line to read&write text file
Requirements
- Python >= 3.6
Installation
$ pip install lessline
Example
from lessline.text_file import read, write
file = 'demo.txt'
text = 'Hello word!\nThis is lessline!'
write(text, file)
text_new = read(file)
print(len(text_new), text_new)
0.1.0 (2022-10-22)
- Implement read&write text file
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
lessline-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distributions
Close
Hashes for lessline-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ac9262066a9ce15ac8d463c053828169bdc9b22e37eb53cd001b1898a657b3 |
|
MD5 | 7c140d45d0e2675eb43e1e9ee50e114f |
|
BLAKE2b-256 | e81831ac09dfe96ad76098737aefae72d98ef265ba76fb82f47d2dad637cf558 |