Skip to main content

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


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 details)

Uploaded Source

Built Distributions

lessline-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

lessline-0.1.0-py2.py3-none-any.whl (4.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lessline-0.1.0.tar.gz.

File metadata

  • Download URL: lessline-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for lessline-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1a417846c35cc7a866668a6d3464d268b0001aaef9e118cd3006bc271347c6a7
MD5 10cd071beb289cd493c7a831b7158f23
BLAKE2b-256 c5711448d79dd2c00dea67c7028d8430af34ee61f70898aded330cb719f77755

See more details on using hashes here.

File details

Details for the file lessline-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lessline-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for lessline-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eac54b381cd982f6f3ccfb1fc4da22ed4fa72331f36a82d0060cdeb0079b811
MD5 a656b48e6ad3b4d2266c9ae8cabcc85d
BLAKE2b-256 0ddc327863ab2a1204b56bdc2463b2632f41d94cc3b6eb3047082bc8190b952f

See more details on using hashes here.

File details

Details for the file lessline-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: lessline-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.8

File hashes

Hashes for lessline-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a4ac9262066a9ce15ac8d463c053828169bdc9b22e37eb53cd001b1898a657b3
MD5 7c140d45d0e2675eb43e1e9ee50e114f
BLAKE2b-256 e81831ac09dfe96ad76098737aefae72d98ef265ba76fb82f47d2dad637cf558

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page