You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another question that could be discussed here is removing the wv_ prefix from module names.
wv_colors.py
wv_helper.py
wv_html.py
wv_bom.py
I am not sure if having a generic name could cause issues if there are other modules with the same name installed on the system (e.g. html.py).
I'm not an expert on this issue, and had to google what has been written by others.
PEP8 seems not to recommend the prefixes in the current names:
There's also the style of using a short unique prefix to group related names together. This is not used much in Python, but it is mentioned for completeness.
Modules should have short, all-lowercase names. Underscores can be used in the module name if it improves readability.
The Python modules with identical names article is relevant, and it seems that absolute imports that became default in Python3 solves most of the problems with module name clashes.
The text was updated successfully, but these errors were encountered:
Affects
wv_bom.py
wv_colors.py
wv_gv_html.py
wv_helper.py
wv_html.py
@kvid commented on #151:
The text was updated successfully, but these errors were encountered: