module rss.rss_flask_helper
¶
Short summary¶
module pyrsslocal.rss.rss_flask_helper
Helpers for rss_flask.py
.
Functions¶
function |
truncated documentation |
---|---|
Returns the content of a binary filename. |
|
Returns the content of a text filename. |
|
Loads the content of a file. |
|
Returns this directory. |
Documentation¶
Helpers for rss_flask.py
.
- pyrsslocal.rss.rss_flask_helper.get_binary_file(filename)¶
Returns the content of a binary filename.
- Parameters:
filename – relative filename
- Returns:
content
- pyrsslocal.rss.rss_flask_helper.get_text_file(filename)¶
Returns the content of a text filename.
- Parameters:
filename – relative filename
- Returns:
content
- pyrsslocal.rss.rss_flask_helper.load_page(filename)¶
Loads the content of a file.
- pyrsslocal.rss.rss_flask_helper.root_dir()¶
Returns this directory.
- Returns:
this path