Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pep8

Should Import Statements Always Be At The Top Of A Module?

PEP 8 states: Imports are always put at the top of the file, just after any module comments and do… Read more Should Import Statements Always Be At The Top Of A Module?

How To Tell Flake8 To Ignore Comments

I'm using flake8 in emacs in order to clean up my python code. I find it annoying to have my co… Read more How To Tell Flake8 To Ignore Comments

In Python, What To Return For No Results, False Or None?

I have a function which searches for results to a query. If there's no results what is recommen… Read more In Python, What To Return For No Results, False Or None?