Skip to main content

A small project to read files

Project description

Files Reader Project

Small project to automatically read all the lines from a file without taking into account resources context and the new lines symbol.

Usage

reader = FileReader("path/of/the_file.txt")
lines = reader.read_all_lines()

The resources context is already managed inside the constructor. An FileNotFoundError will be thrown if the file doesn't exist. The returned lines won't have the special characters \n or \r.

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

filesreader-0.1.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filesreader-0.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file filesreader-0.1.2.tar.gz.

File metadata

  • Download URL: filesreader-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for filesreader-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f09aacf90132f4814be2b72f6815bbcae9e49e5bb9d1ffa750d6569a509c4fa8
MD5 8f4e9b1808e6588e670b11de1b208979
BLAKE2b-256 5707d3dae384cb691d3fb0d36b53237b86011ea168535557a16413663cfab19d

See more details on using hashes here.

File details

Details for the file filesreader-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: filesreader-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for filesreader-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86c8b17358c9756d44209b683f81076f66ed9b8ec88181a5ecc8d72ddb823b4e
MD5 a7ae4d9fb35624db32501f7efe98a551
BLAKE2b-256 4ce2a06c03f243ba52552d518ff183788db4757d57330dfe88e5d0bce8904592

See more details on using hashes here.

Supported by

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