Skip to main content

To make file operations coding easier for literary students

Project description

Purpose: This module is to facilitate Python beginners, especially instructors and students of foreign languages and literature, for the convenience of easily operating txt, xlsx and json files.

Function 1: Useful for getting data from the files directly and saving processing results in the files. Either task can be done with a single line of code.

Function 2: The functions of "FilePath" and "FileName" imported from the py file can effectively help you get all the absolute file paths in any folder (containing all the files of any sub-folder in the folder) of your PC disk and obtain the file names. This will be also realized within one line of code.

Function 3: You can make a word list of a certain file or a batch of files, showing their word frequency sorted in reverse order, easily with the function of "word_list" in PgsFile.

Author: Pan Guisheng, a PhD student at the Graduate Institute of Interpretation and Translation of Shanghai International Studies University E-mail: 895284504@qq.com

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 Distribution

PgsFile-0.0.5.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file PgsFile-0.0.5.tar.gz.

File metadata

  • Download URL: PgsFile-0.0.5.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for PgsFile-0.0.5.tar.gz
Algorithm Hash digest
SHA256 9d71d4e98d48c77310cc1bd5861a3712a49f465190e33a21a321e60f4ca70cf5
MD5 b0fbaec75d87078b77d42e10827dc6b4
BLAKE2b-256 f2bdaa6e3a53e15579fa02016eec32213ec780915ff6731464ed56b4a0ab635b

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