Skip to main content

Random Accessible Text file handler

Project description

easyfile: File Access for Humans

easyfile allows you to access an arbitrary line of a text file.

Installation

To install easyfile, simply:

pip install easyfile

Usage

import easyfile

data = easyfile.TextFile('/path/to/your/text')

# It supports these methods below
data[0] # positive index access
data[-1] # negative index access
data[0:-1] # slicing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for easyfile, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size easyfile-0.0.1-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size easyfile-0.0.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page