2. The goal of this session is to provide a
foundation for learning and experimenting with a
few fundamental concepts of Python enabling
you with sufficient knowledge for success on the
DevNet Associate exam.
Python is a robust Object-Oriented
programming language that requires years of
experience to be truly proficient and develop
your own style.
Additional learning resources are available – this
session mirrors the Python learning labs on
developer.cisco.com
7. INSTALL ON YOUR
PERSONAL
COMPUTER? REMOTE
DEBUGGING WITH
PYCHARM PRO
Install
macOS
Windows
macOS
Windows
Install Install
macOS
Windows
Connect
macOS
Windows
8. sudo apt install python3.8-venv
python3.8 -m venv jupyter
source jupyter/bin/activate
pip3 install --upgrade pip
pip3 install pyyaml
pip3 install jupyter
https://docs.ansible.com/ansible-tower/latest/html/upgrade-migration-guide/virtualenv.html
Virtualenv creates isolated Python environments to
avoid problems caused by conflicting dependencies and
differing versions.
Virtualenv works by simply creating a folder which
contains the necessary executables and dependencies
for a specific version of Python.
Use pip freeze > requirements.txt to get the packages required in file requirements.txt
Include this file in your Git repository, then pip install -r requirements.txt on your target system
11. The Jupyter Notebook is an open-source web application that allows you to create and share
documents that contain live code, equations, visualizations and narrative text.
https://jupyter.org/
VS CODE
DOCKER
DESKTOP
joelwking / devnet-sdk
GITHUB
Dockerfile
.devcontainer
workspace.code-workspace
vscode
%
Run Jupyter
Access Jupyter notebooks
12. From VS Code, issue a `File -> Open Workspace`, and select
the `workspace.code-workspace` in this directory.
Copy the URL specified from the `jupyter notebook` command.
Substitute the host port mapped to port `8888`
When you see the window "Starting Dev Container (show log):",
click on the link to open the terminal prompt.
Clone this repository `git clone ...` to your local machine.
https://github.com/joelwking/devnet-sdk
21. At WWT, we use a proven and innovative approach to help our customers discover, evaluate, architect and implement
advanced technology solutions by leveraging our Advanced Technology Center for testing, and rapid deployment through
our global integration centers. But what truly sets us apart is our extraordinary team of highly certified professionals,
everyone committed to our customers’ long-term goals and success.
Thank You!
youtube.com/user/worldwidetechnology
linkedin.com/company/world-wide-technology
facebook.com/WorldWideTechnologyInc
twitter.com/wwt_inc
wwt.com