FinancePy icon indicating copy to clipboard operation
FinancePy copied to clipboard

__init__.py greeting

Open epogrebnyak opened this issue 4 years ago • 0 comments

Is the intent in __init__ is to print the greeting? https://github.com/domokane/FinancePy/blob/6789f6a338793ba3c78aa74ef9dedca65fe2cd0e/financepy/init.py#L3-L9

On formatting side mybe settle for """ - string as below? also can use "\n".join() if need to be string with line end symbols. Where does the version and date come from?

version = "0.192"
timestamp = "08 Feb 2021 at 15:03" 
doc = f"""
####################################################################
# FINANCEPY BETA Version {version} - This build: {timestamp}  #
# This software is distributed FREE & WITHOUT ANY WARRANTY         #
# For info and disclaimer - https://github.com/domokane/FinancePy  #
# Send any bug reports or comments to [email protected]          #
####################################################################
"""
print(doc)

epogrebnyak avatar Feb 23 '21 10:02 epogrebnyak