Skip to content

CiscoDevNet/intro-python-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cisco DevNet Learning Labs: Intro Python Code

This repository contains the sample code to go along with Cisco DevNet Learning Labs covering introductory Python coding topics.

Ideally you can bring this repo into your DevNet Express code repo as a submodule to keep up with any changes.

Contributions are welcome, and we are glad to review changes through pull requests. See contributing.md for details.

About this Sample Code

Contributions are welcome, and we are glad to review changes through pull requests. See contributing.md for details.

About these Samples

Within this repository are several files and folders covering different topics and labs. This table provides details on what each is used for, and which labs they correspond to.

File / Folder Description
env_lab.py A Python file containing lab infrastructure details for routers, switches and appliances leveraged in the different labs. This file provides a centralized Python import that is used in other code samples to retrieve IPs, usernames, and passwords for connections
env_user.template Similar to env_lab.py, this is a template for end users to copy within their own code repo as env_user.py where they can provide unique details for their own accounts. For example, their Webex Teams (formerly Cisco Spark) authentication token. Not all labs require this file, if one does it will be specified in setup.
requirements.txt Global Python requirements file containing the requirements for all labs within this repository. Each folder also contains a local requirements.txt file.
intro-python/ Sample code and exercises for the Python Fundamentals Learning Labs
(Publishing Soon)
requirements-dev.txt Python requirements file containing requirements only needed if developing new code samples.

Note: These code samples are also leveraged during DevNet Express for DNA events. If you are one of these events, your event proctors and hosts will walk you through event setup and verification steps as part of agenda.

Contributing

These learning samples are for public consumption, so you must ensure that you have the rights to any content that you contribute.

Getting Involved

  • If you'd like to contribute to an existing lab, refer to contributing.md.
  • If you're interested in creating a new Cisco DevNet Learning Lab, please contact a DevNet administrator for guidance.

About

No description or website provided.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages