Over the years, I’ve found that just a few simple tips can really transform your python code into something beautiful and elegant.
In the video this week we talk about 7 easy to implement python tips that will level up your Python game today.
These are tips that I find myself sharing with new pipeline TDs and artists who are interested in python scripting often.
RESOURCES AND LINKS MENTIONED IN THIS VIDEO:
Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin – https://amzn.to/37WUXsB
PEP 8 Style Guide – https://www.python.org/dev/peps/pep-0008/
Naming Docstrings – https://www.python.org/dev/peps/pep-0257/
DRY principle – https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Pylint for PyCharm – https://plugins.jetbrains.com/plugin/11084-pylint
Pylint for Sublime Text 3 – https://packagecontrol.io/packages/SublimeLinter-pylint
Idiomatic Python: EAFP versus LBYL – https://devblogs.microsoft.com/python/idiomatic-python-eafp-versus-lbyl/
The Most Diabolical Python Antipattern – https://realpython.com/the-most-diabolical-python-antipattern/
Say hi on social:
Leave a Reply