Python Code Review: LibreOffice Automation and the Python Standard Library

Pubblicato il: 21 marzo 2017
sul canale di: Real Python
20,033
163

https://dbader.org/python-mastery ► Adopting an expert's mindset is the biggest factor for becoming great at Python

Python Code Review: Unplugged – Episode 5: Code Review for Roger

This is a Python code review I did for Roger's LibreOffice automation script. I do a PEP 8 cleanup pass on the code and then start refactoring and extracting functions to make the program easier to read.

In one instance I was also able replace several lines of code with a built-in function from the Python standard library.

You can get the original and refactored version of Roger's script at the link below:

https://gist.github.com/dbader/800638...

Did I miss anything? Anything that could be improved? Refactoring and talking at the same time is hard :) Leave a comment below and let me know!

FREE COURSE – "5 Thoughts on Mastering Python" https://dbader.org/python-mastery

SUBSCRIBE TO THIS CHANNEL: https://dbader.org/youtube

* *

► Python Developer MUGS, T-SHIRTS & MORE: https://nerdlettering.com

FREE Python Tutorials & News:
» Python Tutorials: https://dbader.org
» Python News on Twitter:   / @dbader_org  
» Weekly Tips for Pythonistas: https://dbader.org/newsletter
» Subscribe to this channel: https://dbader.org/youtube


In questa pagina del sito puoi guardare il video online Python Code Review: LibreOffice Automation and the Python Standard Library della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Real Python 21 marzo 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 20,033 volte e gli è piaciuto 163 spettatori. Buona visione!