Skip to main content

File Essentials is a package that contains all of the necessary functions for using files

Project description

File Essentials

File Essentials is a package that contains all of the necessary functions to create, delete, write to, append to, read from, and so on, from files


Getting Started

Add the following to your python file

import FileEssentials

Creating a file

Just use the CreateFile(name) function.

Creating a file If It Does Not Exist

Just use the CreateFile(name, True) function.

Deleting a File

Just use the DeleteFile(name) function.

Deleting a Directory

Just use the DeleteDirectory(name) function.

Reading From a file

Just use the ReadFile(name) function.

Reading Lines From a file

Just use the ReadFileLines(name) function.

Reading Specific Line From a file

Just use the ReadFileLine(name, line) function.

Writing To a file

Just use the WriteFile(name, text) function.

Appending To a file

Just use the AppendFile(name, text) function.

Checking If a file Exists

Just use the CheckFileExists(name) function.

You can also run the same functions, except without the word File, and for DeleteDirectory, the shortened version is DeleteDir

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

FileEssentials-1.1.3.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

FileEssentials-1.1.3-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

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