Python Associate – Programmer I – PY-INTP
Python Associate - Programmer I
Course Code: PY-INTP
This 5-day course covers some Python introduction topics in more detail, and adds many new ones, with a focus on enterprise development. This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by lab exercises. Many labs build on earlier labs, which helps students retain the earlier material.
- Duration: 5 Days
- Level: Intermediate
- Technology: Python
- Delivery Method: Instructor Led
This course is intended for advanced users, system administrators and web site administrators who want to use Python to support their server installations, as well as anyone else who wants to automate or simplify common tasks with the use of Python scripts.
Before attending this course, students must have:
– Be able to write simple Python scripts, using basic data types, program structures, and the standard Python library.
After completing this course, students will be able to:
- Understand the OS Services
- Use the various pythonic programming principles
- – Understand the use of various modules and packages
- Define and use Classes
- Implement Metaprogramming
- Use Python developer tools
- Access databases using Python programming
- Use PyQt4 framework
- Understand and use network programming
- Use Python programming for System Administration and Scripting
- Understand and use XML and JSON
This course has no associated exam
Modules
- Variables
- Basic Python Data Types
- Sequences
- Mapping Types
- Program Structure
- Files and Console I/O
- Conditionals
- Loops
- Built-ins
- The OS Module
- Paths, Directories and
- Filenames
- Environment Variables
- Launching external
- Programs
- Walking Directory Trees
- The Datetime Module
- The Calendar Module
- Programming
- The Zen of Python
- Common Python Idioms
- Unpacking Function
- Arguments
- Lambda Functions – List Comprehensions
- Iterables
- Writing Generator
- String Tricks
- String Formatting
- Using import
- Module Search Path
- Namespaces
- Executing Modules as
- Scripts
- Packages
- Configuring Import with
- _init__.py
- Name Resolution (AKA scope)
- Python Style
- Defining Classes
- Instance Objects
- Instance Attributes
- Instance Methods
- __Init__
- Properties
- Class Data
- Class Methods
- Inheritance
- Multiple Inheritance
- Using Super ()
- Special Methods
- Class-Private -Variables
- Static Methods
- Globals() and Locals()
- Working with Attributes
- The Inspect Module
- Decorator Functions
- Decorator Classes
- Decorator Parameters
- Creating Classes at
- Runtime
- Monkey Patching
- Program Development
- Comments
- Pylint
- Customizing pylint
- Using pyreverse
- The unittest module
- Fixtures
- Skipping Tests
- Making a Suite of Tests
- Automated Test Discovery
- Using Nose
- The Python Debugger
- Starting Debug Mode
- Stepping Through a
- Program
- Setting Breakpoints
- Profiling
- Benchmarking
- Available Interfaces
- Connecting to a Server
- connect() examples
- Creating a cursor
- Executing a statement
- Parameterized statements
- Dictionary cursors
- Metadata Transactions
- Object-relational mappers
- Event Driven Applications
- Gui Application Flow Chart
- External Anatomy of a
- yqt4 Application
- Internal Anatomy of a
- yqt4 Application
- Using Designer
- Anatomy of a Designer Based Application
- Naming Conventions
- Common Widgets
- Layouts
- Selectable Buttons
- Actions and Events
- Menu Bar
- Status Bar
- Using Predefned – Dialogs
- Creating Custom – Dialogs
- Tabs
- Niceties
- Working with Images
- Complete Example
- Sockets
- Socket options
- Client Concepts
- Server Concepts
- Application Protocols
- Forking Servers
- Grabbing HTML from the Web
- Consuming Web Services
- Web Data the Easier Way
- Sending email
- Binary Data
- The struct module
- What are Threads?
- The Python Thread Manager
- The Threading module
- Threads for the impatient
- Creating a thread class
- Variable Sharing
- Using Queues
- Debugging threaded programs
- The Multiprocessing
- Module
- Alternatives to multiprogramming
- The subprocess module
- Subprocess Convenience
- Functions Using the module
- Permissions
- Saving Information
- Creating a useful
- Command Line Script
- Creating Filters
- Parsing the Command Line
- Simple logging
- Logging Levels
- Formatting Log Entries
- Logging to other Destinations
- About XML
- Normal approaches to XML
- Which Module to use?
- Getting Started with
- ElementTree
- How ElementTree works
- Creating a new XML Document
- Parsing an XML Document
- Navigating the XML Document
- Using XPath
- About JSON
- Reading JSON
- – Writing JSON
- Why extend Python?
- Ways to extend Python with C
- Hand-Coded C
- Overview
- The C Program
- Â Methods
- The Method Table
- The Init function
- Handling errors
- Custom Exception -Objects
- Putting it all together
- Using SWIG
- The interface file
- Generating the Wrappers
- Building and installing the ex