8000 Python-software-engineering/source-code/text-resources at master · gjbex/Python-software-engineering · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Text resources

It can be convenient to bundle text files in a package for convenient distribution and access.

What is it?

  1. show_text.py: script that reads a text file from the package, and prints it to standard output.
  2. `lib/utils': package with a text file.
  3. lib/utils/text_data.txt: text file that contains some text.
  4. run_show_text.sh: Bash script that runs the show_text.py script. It sets the PYTHONPATH environment variable to include the lib directory to find the utils package.
0