This document discusses using Python for network automation. It introduces several Python software tools that can be used for network automation including PyCharm, GNS3VM, and GNS3. The document then covers Python basics like variables, arithmetic operations, strings, slicing strings, lists, and dictionaries. It provides code examples for printing, variables, addition/subtraction, string concatenation, slicing strings, accessing list elements, adding/removing from lists, and creating/accessing dictionary elements. The goal is to teach network engineers how to use Python features to make their jobs easier.
You can learn the basics of python for the Network engineers.
www.networkrhinos.com
call me for classes .
Topic includes:
Comparison operator
Boolean operators AND , OR
Lists with Boolean
Creating a List using Split
Lists Vs Tuples
Lists in Lists
Extending a lists
Other stuffs we can do with Lists
Basics of Python
Comments in code
Line continuation
IF Logic
Confirming if a router is given model or not
ELSE IF an ELSE statement
While Loop
Infinite While loop with Break
While loop with list
While loop with else
For Loop examples
Using For loops for Dictionary
Introduction To TensorFlow | Deep Learning with TensorFlow | TensorFlow For B...Edureka!
** AI & Deep Learning with Tensorflow Training: https://goo.gl/vDxgi5 **
This Edureka tutorial on "Introduction to TensorFlow" provides you an insight into one of the top Deep Learning frameworks that you should consider learning!
Check out our Deep Learning blog series: https://bit.ly/2xVIMe1
Check out our complete Youtube playlist here: https://bit.ly/2OhZEpz
Follow us to never miss an update in the future.
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Python is an interpreted, object-oriented programming language similar to PERL, that has gained popularity because of its clear syntax and readability.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together.
You can learn the basics of python for the Network engineers.
www.networkrhinos.com
call me for classes .
Topic includes:
Comparison operator
Boolean operators AND , OR
Lists with Boolean
Creating a List using Split
Lists Vs Tuples
Lists in Lists
Extending a lists
Other stuffs we can do with Lists
Basics of Python
Comments in code
Line continuation
IF Logic
Confirming if a router is given model or not
ELSE IF an ELSE statement
While Loop
Infinite While loop with Break
While loop with list
While loop with else
For Loop examples
Using For loops for Dictionary
Introduction To TensorFlow | Deep Learning with TensorFlow | TensorFlow For B...Edureka!
** AI & Deep Learning with Tensorflow Training: https://goo.gl/vDxgi5 **
This Edureka tutorial on "Introduction to TensorFlow" provides you an insight into one of the top Deep Learning frameworks that you should consider learning!
Check out our Deep Learning blog series: https://bit.ly/2xVIMe1
Check out our complete Youtube playlist here: https://bit.ly/2OhZEpz
Follow us to never miss an update in the future.
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
Python is an interpreted, object-oriented programming language similar to PERL, that has gained popularity because of its clear syntax and readability.
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together.
Python for R developers and data scientistsLambda Tree
This is an introductory talk aimed at data scientists who are well versed with R but would like to work with Python as well. I will cover common workflows in R and how they translate into Python. No Python experience necessary.
Numerical tour in the Python eco-system: Python, NumPy, scikit-learnArnaud Joly
We first present the Python programming language and the NumPy package for scientific computing. Then, we devise a digit recognition system highlighting the scikit-learn package.
Gurukul Skills Schedule for the Month of March
Time Cohort-10 Cohort-11 Cohort-12
8.00 to 09.25 Revision Revision Revision
5 Minutes Short Break
9.30 to 11.30 Chartered Accountants Chartered Accountants ENGLISH/SOFT SKILLS
15 Minutes Short Break
11.45 to 01.45 ICT ENGLISH/SOFT SKILLS R&A
45 Minutues Lunch Break
2.30 to 04.30 ENGLISH/SOFT SKILLS R&A ICT
15 Minutes Short Break
4.45 to 06.30 R&A ICT ACCOUNTS
5 Minutes Short Break
6.35 to 08.00 Assingments Assingments Assingments
Python for R developers and data scientistsLambda Tree
This is an introductory talk aimed at data scientists who are well versed with R but would like to work with Python as well. I will cover common workflows in R and how they translate into Python. No Python experience necessary.
Numerical tour in the Python eco-system: Python, NumPy, scikit-learnArnaud Joly
We first present the Python programming language and the NumPy package for scientific computing. Then, we devise a digit recognition system highlighting the scikit-learn package.
Gurukul Skills Schedule for the Month of March
Time Cohort-10 Cohort-11 Cohort-12
8.00 to 09.25 Revision Revision Revision
5 Minutes Short Break
9.30 to 11.30 Chartered Accountants Chartered Accountants ENGLISH/SOFT SKILLS
15 Minutes Short Break
11.45 to 01.45 ICT ENGLISH/SOFT SKILLS R&A
45 Minutues Lunch Break
2.30 to 04.30 ENGLISH/SOFT SKILLS R&A ICT
15 Minutes Short Break
4.45 to 06.30 R&A ICT ACCOUNTS
5 Minutes Short Break
6.35 to 08.00 Assingments Assingments Assingments
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
1. Here in this class we will deal with Network
Automation with the help of Python
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
Python 3 for Network Engineers
2. Software to RUN network Automation
• Pycharm – By. Jetbrains – Download Community version
• GNS3VM
• GNS3
• Virtual Box
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
3. Basics of Python
• Understand a point, Coding is not all about how much you know, its
all about what are the stuffs you can based on how much you know.
• Lets get started quickly. We will have 2 sessions in this course.
• 1st session will introduce the possible commands and explanation
• 2nd session we will jump into Python for Network Engineers
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
4. What Python can do
• We can create games, software’s etc
• However we will focus on Python feature that’s helping the network
engineer to make our job easy.
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
6. Printing “ Hello world “
• Print is a command which is used to print any strings or characters or values etc.
Command :
>>>print (“Hello World”)
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
8. Variables and Multiple assignments
• Variables :
• Variables are basically memory locations where we can store values.
• Commands :
>>>age = 20
>>>sentence = “my name is vishnu”
>>>bob = 20
>>>john = 24
>>>steve = 30
>>> bob,john,steve = 20,24,30
>>>name,age = “vishnu”,28 ------ Am storing string and integer at the same place.
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
9. Variables and Multiple assignments Practice
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
11. Arithmetic Operations
• Last slides we saw what are variables and stuffs. Lets do some maths with Python.
• We have Addition, Subtraction, Multiplication, Division
Commands : For adding and subtracting numbers
>>>a=10
>>>b=20
>>>a+b
Commands : For adding two or more strings
>>>firstname = “Vishnu”
>>>lastname = “Vardhan”
>>>details = “age is 28”
>>>firstname + lastname + details
or
>>>firstname + “ “ + lastname+ “ “ +details
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
12. Arithmetic Operations
• Oh good that now you got how to add two different names by using “+”. But if you try to use “-” then it
will not work for strings.
• You can use “*” (Multiplication) with Strings
• String supported operations are = + and *
• String non supported operations are = % and -
15. String Functions - Slicing
• Functions are the additional power commands given to Strings we have lot, let us start with Slicing.
Command:
>>>sentence=“Welcome to network rhinos classes”
>>>sentence[0]
‘W’
>>>sentence[4]
‘o’
?? What if you want full length character.
>>>sentence[0:6] ------ Make note Blank spaces also count
‘Welcome’
>>>sentence[:6]
‘Welcome’
>>>sentence[0:-2]
‘Welcome to network rhinos class’
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
16. String Lab and intro to docs.python.org
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
17. Errors while slicing
• What if you try to slice a value or character with a wrong index value.
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
18. Placeholders in String
• As of not we have covered Integers, Arithmetic's, Strings and some functions.
• Lets get our self familial with Placeholders
• ?? What is Placeholders :
• Taking a place of something.
>>>name = “Bob”
>>>details = “is 15 years old”
‘Bob is 15 years old’
I can simply use something called placeholder to say hey instead of placeholder use this value ( %s )
>>>detail=“%s is 15 years old”
>>>detail%name
‘Bob is 15 years old’
** Here you can see the %s is being replaced by name in the output.
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
21. Introductions Lists
• Pythons first Data structures.
• What is Lists :
It can be set of items which are ordered with index and each least value has items. You can think of Shopping lists.
Like Item 1= banana , Item 2=apple etc etc.,
Lists are always enclosed in square braces and separated by commas
Command :
>>>shoplist=[“Apples”,”Oranges”,”Bananas”,”Choclates”]
>>>shoplist
[‘Apples’,’Oranges’,’Bananas’,’Choclates’]
In list index value works for a list number unlike in strings it worked for a character.
>>>shoplist[0]
‘Apples’
>>>shoplist[1]
‘Oranges’
>>>shoplist[0:2] # To see first 2 items
Apples, Oranges
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
22. Adding a new value to the Lists
• What if you missed something on the list and you want to add it later.
Command :
>>>shoplist.append[“Blueberrys”]
>>>shoplist
[‘Apples’,’Oranges’,’Bananas’,’Choclates’,Blueberrys]
• What if you want to change something in the list.
Command :
>>>shoplist[0] = “Coconets”
>>>shoplist
[‘Coconets’,’Oranges’,’Bananas’,’Choclates’,Blueberrys]
• To remove from a lists.
Command :
>>>del shoplist[1]
[‘Coconets’,’Bananas’,’Choclates’,Blueberrys]
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
23. • You can also add two lists by just using a “+”
Counting number of items
Command :
>>>len(shoplist)
4
• Finding maximum number on a lists :
Command:
>>>list1=[1,2,3,4,5,6,7]
>>>max(list1)
7
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210
25. Dictionaries
• Dictionaries are the are the list but with a meaning to each item.
• For example I want to create student and age dictionary.
• We will be using “:” between them key and meaning.
Command :
>>>students= {“Bob”:12 , “Steve”:15,”Mark”:20}
>>>students[“Bob”]
12
• What if we want to update the students age. Simply use the above command with = <age>
Command :
>>>students[“Bob”]=25
>>>students[“Bob”]
25
Deleting : >>>del students[“Bob”]
Counting : >>>len(students)
www.networkrhinos.com | Vishnu (Founder) | +91-9790901210www.networkrhinos.com | Vishnu (Founder) | +91-9790901210