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 line 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 controller. 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.0.tar.gz (5.1 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.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: filesreader-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 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.0.tar.gz
Algorithm Hash digest
SHA256 4d1cf687155c576a7b01a014da2f6d8850e7959247f92bcecd08d5f320975c73
MD5 9d26f3537a7d9aeae876bf23d84a58d5
BLAKE2b-256 8a98a185aca6e0ca38aa0cb376a4526082aff4dcb14fcfcf7f0082ddac08825a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: filesreader-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32a7cd7bff0fc9fb7e4e46424c164af48dfb0d41a71023b187b0b7f7cd5c6bce
MD5 addd97027d2142894bb020f643db1c63
BLAKE2b-256 62a81576b4c8a6578fcfa9354ff5ccc8efb08422fc9bbeb7b23da39d1b27ea94

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