Библиотека для выделения ключевых слов из отзывов с маркетплейсов
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file frequencyanalys-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: frequencyanalys-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a9c2dc9eaa8d934648872548d7bb95aaaba24572da5ac98febd80a6e07d4064 |
|
MD5 | 89a263bdf274ec1d37745d610f517f89 |
|
BLAKE2b-256 | 604a1fb07c230a1996c0799de34552807e14597cf53ea1970f8455609653dca8 |