Skip to content

Presentation for Sysadmin miniconf at linux.conf.au 2019

Notifications You must be signed in to change notification settings

jangroth/linuxconf2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux.conf.au 2019

Presentation for Sysadmin miniconf at linux.conf.au 2019

(Online on github.io)

Talk Abstract

Python is a great language for DevOps tasks. It’s easy to use for automation and offers an end-to-end range of tooling for managing infrastructure on-premise and in the cloud. Scripts are quickly implemented and new features easily rolled out. But what if complexity grows and all of the sudden you find yourself in a complete mess? How do you add a new feature or fix a bug in a script that you struggle to understand because it was written months ago? And do you sometimes see someone else’s code that you like but can't always put your finger on the magic ingredient? This talk is aimed at you if you are reasonably confident reading Python code and want to discover and improve beyond the basics. I'll provide you with ideas and suggestions that will help you stay on top of your coding and will bring it to the next level: Clean code which is easier to understand, more functional, testable and beautiful.

References and further reading

Python 3 / venv / pipenv

Conventions / Good Naming / Beautiful Code

Scope And Classes

Using an IDE

Most people I know use either PyCharm or Visual Studio Code. The screenshots were taken from PyCharm.

Language Features

More Python

Some links to resources to see more Python code on a regular base:

Regular Newsletters

Coding Challenges

Credits

This presentation uses reveal.js with these plugins:

It's a beautiful framework.

The Python 2.7 countdown comes from timeanddate.com, inspired by python clock.

The List Comprehension example was taken from Fluent Python: Clear, Concise, and Effective Programming by Luciano Ramalho.

About

Presentation for Sysadmin miniconf at linux.conf.au 2019

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published