Skip to main content

Библиотека для выделения ключевых слов из отзывов с маркетплейсов

Project description

Speed File Library

What is this?

The module allows you to work with files in just one line of code, without the need to manually open and close the file each time

Quick Guide

The module is based on the following structure:

f = open('data.txt')
data = f.readlines()
f.close()

Which Python provides by standard.


Using

Using the library is as simple and convenient as possible:

Let's import it first: First, import everything from the library (use the from ... import * construct).

Examples of all operations:

Writing the contents of an entire file to a variable using the read() function:

temp = File(path='test.txt').read()

Writing the contents of an entire file to a variable line by line using the readlines() function:

temp = File(path='test.txt').readlines()

Write only the first line from a file using the readline() function:

temp = File(path='test.txt').readline()

Writing data from a variable to a file using write() (overwriting or creating a file):

temp = "Test data"
File(path='test.txt', data=temp).write()

Adding data from a variable to a file using write() (or creating a file):

temp = "Test data"
File(path='test.txt', data=temp).add()

Developer

My site: link

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

frequencyanalys-0.0.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file frequencyanalys-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for frequencyanalys-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9c2dc9eaa8d934648872548d7bb95aaaba24572da5ac98febd80a6e07d4064
MD5 89a263bdf274ec1d37745d610f517f89
BLAKE2b-256 604a1fb07c230a1996c0799de34552807e14597cf53ea1970f8455609653dca8

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