Home    |    Instructor-led Training    |    Online Training     
         
 
Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
BlockChain
Business Analysis
Business Intelligence
Business Objects
Business Skills
C/C++/Go programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Data Science
Datawarehousing
DB2
Desktop Application Software
DevOps
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PostgreSQL
PowerBuilder
Professional Soft Skills Workshops
Project Management
Python
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Unisys Mainframe
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
Python I: Essentials
Unix/Linux Training Overview

This four day course leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting. This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises. Python Programming is a practical introduction to a working programming language, not an academic overview of syntax and grammar. Students will immediately be able to use Python to complete tasks in the real world.

Unix/Linux Training Audience

Users who want to learn Python and use it for application development, system administration, or just to automate tasks in a simple, yet powerful way.

Unix/Linux Training Prerequisites

Working/user level knowledge of an operating system such as Linux, Windows, or MacOS. Basic skill with at least one other programming language is desirable.

Unix/Linux Training Course duration

4 Days

Unix/Linux Training Course outline

1. An Overview of Python

  • What is Python?
  • The Birth of Python
  • Python Timeline
  • About Interpreted Languages
  • Advantages of Python
  • Disadvantages of Python
  • How to get Python
  • Which version of Python?
  • The of 2.x
  • Getting Help
  • pydoc
2. The Python Environment
  • Starting Python
  • If the interpreter is not in your PATHs
  • Using the interpreter
  • Trying out a few commands
  • Running a Python script
  • Python scripts on UNIX
  • Python scripts on Windows
  • Python editors and IDEs
3. Getting Started
  • Using Variables
  • Keywords
  • Built-in Functions
  • Variable Typing
  • Strings
  • Single-quoted string literals
  • Tripe-quoted string literals
  • Raw String literals
  • Unicode literals
  • String operators and methods
  • Numeric literals
  • Math operators and expressions
  • Converting among types
  • Writing to the screen
  • String formatting
  • Legacy string formatting
  • Command line parameters
  • Reading from the keyboard
4. Flow Control
  • About flow control
  • What’s with the white space?
  • if and elif
  • Conditional expressions
  • Relational operators
  • Boolean operators
  • while loops
  • Alternate ways to exit a loop
5. Sequences
  • About sequences
  • Lists
  • Tuples
  • Indexing and slicing
  • Iterating through a sequence
  • Functions for all sequences
  • Using enumerate()
  • Operators and keywords for sequences
  • The xrange() function
  • Nested sequences
  • List comprehensions
  • Generator expressions
6. Working with files
  • Text file I/O
  • Opening a text file
  • The with block
  • Reading a text file
  • Writing to a text file
  • “Binary” (raw, or non-delimited) data
7. Dictionaries and Sets
  • About dictionaries
  • When to use dictionaries
  • Creating dictionaries
  • Getting dictionary values
  • Iterating through a dictionary
  • Reading file data into a dictionary
  • Counting with dictionaries
  • About sets
  • Creating sets
  • Working with sets
8. Functions
  • Defining a function
  • Function parameters
  • Global variables
  • Variable scope
  • Returning values
9. Sorting
  • Sorting overview
  • The sorted() function
  • Alternate keys
  • Lambda functions
  • Sorting collections of collections
  • Using operator.itemgetter()
  • Sorting dictionaries
  • Sorting in reverse
  • Sorting lists in place
10. Errors and Exception
  • Handling
  • Syntax errors
  • Exceptions
  • Handling exceptions with try
  • Handling multiple exceptions
  • Handling generic exceptions
  • Ignoring exceptions
  • Using else
  • Cleaning up with finally
  • The standard exception hierarchy
11. Using Modules
  • What is a module?
  • The import statement
  • Where did the .pyc file come
  • from?
  • Module search path
  • Zipped libraries
  • Creating Modules
  • Packages
  • Module aliases
  • When the batteries aren’t
  • included
12. Regular Expressions
  • RE syntax overview
  • Regular expression
  • metacharacters
  • RE Objects
  • Searching for patterns
  • Matching without re objects
  • Compilation flags
  • Grouping
  • Special groups
  • Replacing text
  • Replacing with a callback
  • Splitting a string
13. Using the Standard Library
  • The sys module
  • Interpreter information
  • STDIO
  • Launching external programs
  • Paths, directories, and filenames
  • Walking directory trees
  • Grabbing data from the web
  • Sending e-mail
  • Math functions
  • Random values
  • Dates and times
  • Zipped archives
14. An Introduction to Python Classes
  • About OO programming
  • Defining classes
  • Initializers
  • Instance methods
  • Properties
  • Class methods and data
  • Static methods
  • Private methods
  • Inheritance
  • Untangling the nomenclature
15. Bonus Exercises

Appendix A: Bibligraphy

Appendix B: Python Gotchas

Appendix C: Builtin Functions

Please contact your training representative for more details on having this course delivered onsite or online

Training Outlines - the one stop shopping center for IT training.
© Training Outlines All rights reserved