I'm just having fun 😏
Thanks, I try to make my code as Pythonic as possible.
According to PEP 8 – Style Guide for Python Code
Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants
Additionally,
Compound statements (multiple statements on the same line) are generally discouraged: Correct: if foo == 'blah': do_blah_thing() do_one() do_two() do_three() Rather not: # Wrong: if foo == 'blah': do_blah_thing() do_one(); do_two(); do_three()
Compound statements (multiple statements on the same line) are generally discouraged:
Correct:
if foo == 'blah': do_blah_thing() do_one() do_two() do_three()
Rather not:
# Wrong: if foo == 'blah': do_blah_thing() do_one(); do_two(); do_three()
Please use spoiler flag next time.
Thanks! I'm just beginning to get back into Python, so this was cobbled together!
I'm sure I'll learn lots from the community here. It's good so far!
Loading collection data...
I'm just having fun 😏
Thanks, I try to make my code as Pythonic as possible.
According to PEP 8 – Style Guide for Python Code
Additionally,
Please use spoiler flag next time.
Thanks! I'm just beginning to get back into Python, so this was cobbled together!
I'm sure I'll learn lots from the community here. It's good so far!