Python Basics. Lecture and Lab 5 Day Course. Python Basics

Similar documents
APIs and API Design with Python

Basic Python 3 Programming (Theory & Practical)

Introduction to Python

Introduction to Programming Using Java (98-388)

Webgurukul Programming Language Course

PYTHON CONTENT NOTE: Almost every task is explained with an example

Python Training. Complete Practical & Real-time Trainings. A Unit of SequelGate Innovative Technologies Pvt. Ltd.

Programming for Data Science Syllabus

[CHAPTER] 1 INTRODUCTION 1

Course Title: Python + Django for Web Application

CEU s (Continuing Education Units) 12 Hours (i.e. Mon Thurs 5 9PM or Sat Sun 8AM 5PM)

Course Structure of Python Training: UNIT - 1: COMPUTER FUNDAMENTALS. Computer Fundamentals. Installation of Development Tools:

GE PROBLEM SOVING AND PYTHON PROGRAMMING. Question Bank UNIT 1 - ALGORITHMIC PROBLEM SOLVING


Data Analyst Nanodegree Syllabus

CO Java SE 8: Fundamentals


About Python. Python Duration. Training Objectives. Training Pre - Requisites & Who Should Learn Python

102. Introduction to Java Programming

Al al-bayt University Prince Hussein Bin Abdullah College for Information Technology Computer Science Department

C++ (Non for C Programmer) (BT307) 40 Hours

Duration: Six Weeks Faculty : Mr Sai Kumar, Having 10+ Yrs Experience in IT

Table of Contents. Preface... xxi

Intermediate Python 3.x

PTN-202: Advanced Python Programming Course Description. Course Outline

,

Functions, Scope & Arguments. HORT Lecture 12 Instructor: Kranthi Varala

Python INTRODUCTION: Understanding the Open source Installation of python in Linux/windows. Understanding Interpreters * ipython.

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression

Data Science with Python Course Catalog

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

Flask Web Development Course Catalog

CIS192 Python Programming. Robert Rand. August 27, 2015

Automating Administration with Windows PowerShell 2.0

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

And Parallelism. Parallelism in Prolog. OR Parallelism

Introduction to C++ Introduction. Structure of a C++ Program. Structure of a C++ Program. C++ widely-used general-purpose programming language

ENGR 102 Engineering Lab I - Computation

This course is designed for anyone who needs to learn how to write programs in Python.

Introduction to C++ with content from

COURSE OF STUDY UNIT PLANNING GUIDE COMPUTER SCIENCE 1 FOR: 5 CREDITS GRADE LEVEL: 9-12 FULL-YEAR COURSE PREPARED BY: SUSIE EISEN

Programming in Python

Python Certification Training

PYTHON TRAINING COURSE CONTENT

Microsoft Windows PowerShell v2 For Administrators

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Syllabus & Curriculum for Certificate Course in Java. CALL: , for Queries

Fast Track to Core Java 8 Programming for OO Developers (TT2101-J8) Day(s): 3. Course Code: GK1965. Overview

WA1278 Introduction to Java Using Eclipse

Programming in Python Advanced

Total Test Questions: 43 Levels: Grades Units of Credit:.50

C-LANGUAGE CURRICULAM

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines.

Computer Hardware 6. The

Outline. 1 If Statement. 2 While Statement. 3 For Statement. 4 Nesting. 5 Applications. 6 Other Conditional and Loop Constructs 2 / 19

GIS 4653/5653: Spatial Programming and GIS. More Python: Statements, Types, Functions, Modules, Classes

Introduction to Programming

CERTIFICATE IN WEB PROGRAMMING

Part III Appendices 165

Absolute C++ Walter Savitch

Computer Programming IA

Course 80436A C/Side Introduction in Microsoft Dynamics NAV 2013

Exam 1 Prep. Dr. Demetrios Glinos University of Central Florida. COP3330 Object Oriented Programming

Course Outline - COMP150. Lectures and Labs

Django with Python Course Catalog

1. BASICS OF PYTHON. JHU Physics & Astronomy Python Workshop Lecturer: Mubdi Rahman

PTN-102 Python programming

Course materials Reges, Stuart, and Stepp, Martin. Building Java Programs: A Back to Basics Approach. 2d ed. (Boston: Addison-Wesley, 2011).


Key Differences Between Python and Java

Large-Scale Networks

Java Programming Fundamentals

College Board. AP CS A Labs Magpie, Elevens, and Picture Lab. New York: College Entrance Examination Board, 2013.

JVA-103. Java Programming

Data Structures (list, dictionary, tuples, sets, strings)

Java Programming Training for Experienced Programmers (5 Days)

Programming in Scala Second Edition

Java 8 Programming for OO Experienced Developers

CIS192: Python Programming

Programming with Python with Software Automation & Data Analytics

Introduction to Computer Science with Python Course Syllabus

Reviewing for the Midterm Covers chapters 1 to 5, 7 to 9. Instructor: Scott Kristjanson CMPT 125/125 SFU Burnaby, Fall 2013

Computer Science (330)

Babu Madhav Institute of Information Technology, UTU 2015

Python. Jae-Gil Lee Based on the slides by K. Naik, M. Raju, and S. Bhatkar. December 28, Outline

What Version Number to Install

VALLIAMMAI ENGINEERING COLLEGE

Table of Contents EVALUATION COPY

Front-End Web Developer Nanodegree Syllabus

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

Subclass Gist Example: Chess Super Keyword Shadowing Overriding Why? L10 - Polymorphism and Abstract Classes The Four Principles of Object Oriented

Full Stack Web Developer Nanodegree Syllabus

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

Flow Control: Branches and loops

Part I Basic Concepts 1

Introduction to Python

Variable Scope The Main() Function Struct Functions Overloading Functions Using Delegates Chapter 7: Debugging and Error Handling Debugging in Visual

Part IV. More on Python. Tobias Neckel: Scripting with Bash and Python Compact Max-Planck, February 16-26,

Contents Chapter 1 Introduction to Programming and the Java Language

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline ::

Transcription:

Python Basics Lecture and Lab 5 Day Course Course Overview Python, is an interpreted, object-oriented, high-level language that can get work done in a hurry. A tool that can improve all professionals ability to do work, Python is freely available on early all major platforms without a charge. All lessons are highly relevant for scripting within the workplace, including; data retrieval and storage from the local system, working with RESTful APIs, and decoding JSON. What You ll Learn In this course, students will learn how to get started with Python, including an overview of the Standard Library, and popular 3rd party libraries. Lessons include version controlling with git, storing data in list and dictionaries, working with objects and methods, conditionals, looping, creating functions, and building classes. Highly relevant labs enhance these skills as students learn how to use JSON pulled from APIs, manipulate Excel spreadsheets, create feature rich charts and graphs, and parse log files with the Python regular expression library. Python Basics 1. Introduction to Python Installing Python 2.7+ Installing Python 3.x Preparing to write Python Preparing to write a Python file (*.py) - Text Editors Executing a Python file Python Enhancement Proposals How to speak Python Python Statements and Control Flow Python Interpreter Overview of the Standard Library

2. Version Controlling Code Set up a github account Github essentials README course requirements How to Set up a repo Issue a Pull request How to use Issues for peer review 3. Basics of Programming Functions Objects Methods Built in Functions Functions and Arguments Print() White spacing basic rules String Literal Escape Sequences Python Variables Naming Conventions & Rules Types as Objects Sequence Types List Iteration List Enumeration Sequence Assignments Mutable vs Immutable Objects Assignment Shorthand 4. Python Basic Variables and Data Types Numeric Types Operators and Precedence / Arithmetic Expressions Integers Floating points 5. String Types Generating Strings in Python Common String Methods Formatting String Output Booleans

Printing and formatting strings Scripting with input() About raw_input() 6. Lists & Dictionaries & Tuples LIsts Mixed Lists Common List Methods Other List Operations Dictionaries Python Dictionaries Keys and Values Dictionary Building Dictionary Methods Tuples Python Time Tuples Dictionaries vs Lists vs Tuples Translating JSON to Pythonic Lists, Dictionaries and Tuples 7. If, elif, else Relational Operators Logical operators Comparison Operations simple if Statement If else statements If elif Nested if statement 8. Looping with while While usage Count controlled loop Event controlled loop Continue Break 9. Looping with for The for Loop For iteration examples Looping across data sets

Looping across lists of lists Looping across lists of dictionaries 10.Understanding Iterators The range() Function Taking the range() of len() Iterable Objects The iter() Function Looping with dictionaries Looping with lists 11.Getting Data In and Out of Python Opening Files Working with Files Read data from files Controlling Output Location Intro to working with APIs What is a REST ful API? APIs and JSON 12.Python List Comprehension Basic List Comprehensions Compound List Comprehensions 13.Creating Python Functions Function Basics Defining Functions Function Polymorphism Argument Defaults Lambdas What is if name == main Local Variables Variable Masking Creating functions using Sorted() and sort() Preventing Variable Modifications Argument Matching Methods 14.Modules & Packages Pip and pip3

Module Basics Packages Virtual environments Defined modules Import modules From import statements Namespace 15.Python Scope Naming conventions Local scope Global scope Nested scope 16.Object Oriented Python About OOP The Class Statements Defining a class Class Inheritance Classes as Objects Using Dictionaries Understanding self Class fields and constructors Data structures Subclasses (Inheritance) Multiple Inheritance Static methods 17.(Optional) Regular Expression import re library Writing regular expression Searching for data in files Using Regular Expression to search data sets Searching for data in Wireshark Traces (Python and *.pcaps)

Labs Lab 1 - Using vim Lab 2 - Using leafpad Lab 3 - Making a Github account Lab 4 - Using & Installing Python Lab 5 - The Shebang Line Lab 6 - Starting to Use Print() Lab 7 - Collecting Input() Lab 8 - Working with Lists Lab 9 - List Objects and Methods Lab 10 - Lists of Lists Lab 11 - Python Dictionaries Lab 12 - Getting dir(obj) help() and pydoc Lab 13 - String Methods Lab 14 - Copying Files and Folders Lab 15 - Moving and Renaming Files and Folders Lab 16 - Testing if conditionals Lab 17 - IPv4 Testing with if Lab 18 - Writing your own if-logic script Lab 19 - Using while, if, elif, else (Monty Python) Lab 20 - Troubleshooting while, if, elif, else Lab 21 - Starting to Learn Loops Lab 22 - Looping with for Lab 23 - for loops and range() Lab 24 - Migrating 2.x to 3.x py Lab 25 - Parsing Log Files Lab 26 - Write to Files Lab 27 - Read from Files Lab 28 - Creating Functions Lab 29 - Best Practice and pylint Lab 30 - pip and import Lab 31 - Exploring Network Interfaces Lab 32 - Defining Functions Lab 33 - Scripting Commands with Python Lab 34 - Producing Graphs and Charts Lab 35 - os.walk() the Directory Tree Lab 36 - Python and Excel Lab 37 - Python, APIs, and JSON

Lab 38 - Searching with Regular Expressions Lab 39 - Creating objects in Python from "Scratch" Lab 40 - Inheritance Lab 41 - Using Classes Prerequisites Keyboard proficiency Who Should Attend This course is an appropriate introduction to students of any background looking to get started with Python. System administrators, network engineers, managers, and those with development skills in other programming languages will find the lessons and labs highly relevant to their disciplines. Follow-on Courses Recommended Follow up: APIs and API Design with Python (5 days) Recommended Follow up: Python for Network Automation (5 days)