Skip to main content

File modes

Project description

file_modes

Provides File Modes Constants

Instillation

python -m pip install filemodes

Usage

Constants for file modes and opening files

Features

r:

  • READ - For reading encoded text
  • READPS - For reading & writing encoded text
  • READB - For reading binary
  • READBPS - For reading & writing binary

w:

  • WRITE - For writing encoded text
  • WRITEPS - For writing & reading encoded text
  • WRITEB - For writing binary
  • WRITEBPS - For writing & reading binary

a:

  • APPEND - For appending encoded text
  • APPENDPS - For appending & reading encoded text
  • APPENDB - For appending binary
  • APPENDBPS - For appending & reading binary

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

file_modes-1.0.0.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

file_modes-1.0.0-py3-none-any.whl (2.6 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