Python Skills and Techniques for Network Engineers, Part 1

Описание к видео Python Skills and Techniques for Network Engineers, Part 1

Season 2, Talk 1 of NetDevOps Live! looks at several tips and techniques for crafting better network automation code with Python. Full details at http://bit.ly/2OK35TR

Presenter: Hank Preston   / hfpreston  

Topics Covered - Time Links
- Agenda 1:00
- Better Code Style / Sharing 3:59
- The Sh-Bang Line 4:11
- Doc Strings 6:43
- Demo: Sh-Bang and Doc Strings 8:42
- requirements.txt 11:10
- Coding Style and Linting with Flake8 12:39
- Black and White Code Formatters 15:37
- Demo: Linting and Code Formatting 17:00
- Short look at licenses 19:07
- More Reusable Code 20:45
- Functions 21:01
- Modules 23:39
- Demo: Functions and Modules 26:09
- Packages 29:10
- Demo: Packages 31:50
- Classes and Objects 35:29
- Demo: Objects 38:48
- More Robust Code 40:11
- Try... Except... 40:21
- Test, don't assume 44:40
- Demo: Exception Handling 46:10
- Simple Command Line Tools with argparse 48:24
- Environment Variables 50:08
- Demo: CLI and ENV 52:05
- Summing Up 54:49
- Webinar Resources 55:21
- Code Exchange Challenge 56:06
- Contact Info 57:01

Episode Description:
You're writing Python code to solve your network configuration and operational challenges. You've mastered libraries like Netmiko, ncclient, and requests. You can manipulate XML, JSON and YAML like a pro. You've saved yourself and your organization hours with your work, but you're still a bit embarrassed by your code... Don't worry, you are not alone.

Most network engineers didn't start as developers, we kinda just learned as we went, hacking together something that "worked". In this session you'll learn simple coding skills and techniques that you can use today to make your code something you'll be proud to share and show off.

NetDevOps Live! is produced by Cisco DevNet. Details can be found at https://developer.cisco.com/netdevops... and follow NetDevOps Live! on Twitter at   / netdevopslive  

Комментарии

Информация по комментариям в разработке