Python vs Commodore BASIC
#PythonProgramming #Commodore64 #ShadowSwitcher #RetroCoding #PygameTutorial #PEP8 #LearnPython #BasicVsPython
theoasisbbs.com/python-vs-co...
Latest posts tagged with #PEP8 on Bluesky
Python vs Commodore BASIC
#PythonProgramming #Commodore64 #ShadowSwitcher #RetroCoding #PygameTutorial #PEP8 #LearnPython #BasicVsPython
theoasisbbs.com/python-vs-co...
More and more when I'm debugging something in #django, I have to manually reformat to #pep8 so I can read it. Please stop using black.
def post(
self,
path,
data=None,
content_type=MULTIPART_CONTENT,
secure=False,
*,
....
I
keep
seeing
innocent
code
getting
mangled
by
#black.
It
might
address
a
nitpick
for
a
niche
user
group,
but
it's
a
net
negative
for
the
#python
community.
Readability
counts.
Use
#pep8.
Ditch
black
):
Checking for an empty list in Python - Python Morsels
Various methods to check if a list is empty in Python:
➡️ checking the list's length,
➡️ evaluating the list's truthiness
➡️ comparing the list to another empty list
#Python #Truthiness #PEP8 #DuckTyping #Programming […]
Concernant le #PEP8, on le fait passer avec un brin de provocation 😁, on a demandé à un élève de construire un script diabolique 😈 , les autres élèves devant le recoder proprement. 😅
Hey #Python twitter! Anyone have any recommendations for a nice #PEP8 linter for JupyterLab that works on #Jupyter notebooks?
I've found this one, but development seems to have stopped and it doesn't work with Jupyterlab v1.0+...@ProjectJupyter @ThePSF
github.com/mlshapiro/jupy…
A #python namedtuple is like defining a class, so I want to capitalize the variable. My #PEP8 linter disagrees.
Am I going crazy, or did the PyCharm 4.0 #PEP8 linter hate EOF line breaks, but 4.5 demands them?
I painstakingly adhere to #PEP8 in my code, but I invariably have to access modules that don't. My IDE is giving me the evil eye.
RT @jacobburch: We won! We won! No governing body can tell -me- how long my lines can be! #PEP8