|
|
|
You Will Learn How To
- Rapidly develop feature-rich applications with Python
- Simplify and reduce coding with Python's expressive language constructs
- Structure code with classes, functions, modules and OO features
- Write Python scripts to automate systems administration tasks
- Develop dynamic, platform-independent GUIs
- Create and deploy data-driven web applications
Course BenefitsPython is a powerful and flexible object-orientated scripting language that is designed for ease of use and enhanced productivity. Organisations benefit from rapid development cycles, faster time-to-market and lower cost of maintenance. This course provides extensive hands-on experience using Python to develop applications, automate administrative tasks and integrate systems more effectively.
Who Should AttendAnyone who wants to develop Python applications, including application developers, system and database administrators, programmers and technical managers. Basic knowledge of a programming language or scripting experience is assumed.
Hands-On TrainingThroughout this course, extensive hands-on exercises provide practical experience with Python programming. Exercises include:
- Handling large data sets with built-in collection types
- Implementing a data-driven web application
- Automating administrative tasks with Python scripts
- Developing reusable modules with functions
- Creating classes and overloading operators
- Leveraging interfaces to achieve dynamic behaviour
- Persisting and retrieving data in file stores
- Gaining data integrity using a relational database
- Building interactive GUIs with Tkinter
Course ContentIntroduction to Python
- Python language characteristics
- The Python execution model
- Running statements interactively
- Application development environments
Leveraging Python Built-in Types
Manipulating string and numeric literals
- Declaring and initialising variables
- Performing arithmetic calculations
- Making decisions and performing iterations
- Formatting and slicing strings
Aggregating related data
- Accessing positional information in lists
- Representing ordered data with tuples
- Associating keys and values in dictionaries
- Consistently handling data collections with iterators
Organising and Structuring Code
Defining and calling functions
- Positional, keyword and default arguments
- Returning values from functions
- Implementing variable-length argument lists
- Recursing and generator functions
Grouping code into modules
- Importing and reloading modules
- Referencing functions from modules by qualification
- Creating your own modules
- Combining modules into packages
Implementing Classes and Objects
Declaring and modifying objects
- Encapsulating functionality in classes
- Initialising objects with constructors
- Accessing derived data with properties
- Recognising the role of static and class methods
- Overloading operators
Inheritance and polymorphism
- Reusing functionality through inheritance
- Defining abstract classes and interfaces
- Overriding methods for dynamic behavior
- Tracing the scope in the namespace
- Enhancing functionality with class decorators
Manipulating the File System
Managing files
- Reading and writing text and binary files
- Importing the OS module for directory management
Increasing program robustness through handling exceptions
- Maintaining program control with error handlers
- Detecting errors and raising exceptions
Interfacing with Relational Databases
Establishing communication
- Creating a SQL database connection
- Instantiating cursors to access a database
Executing SQL statements within a Python program
- Retrieving desired data sets
- Updating the database with action statements
Constructing a GUI with Tkinter
Building the user interface
- Defining a window layout
- Placing widgets: Labels, check boxes, scroll bars
- Interacting with dialog boxes
Listening for interface events
- Providing menu items
- Responding to mouse clicks
- Capturing keyboard input
- Binding event handlers
Developing Web Applications
Analysing the request processing pipeline
- Positioning the role of Python
- Mapping requests to Python scripts
Developing MVC with Python
- Integrating the model with a database
- Generating HTML using views
- Processing requests with Python controllers
Benefitting from the Django framework
- Improving productivity with code reduction
- Simplifying application development
- Accessing the database and producing HTML with Django templates
|
<< Back to UNIX, Linux and Open Source
Learning Tree AnyWareTM is a trademark of Learning Tree International, Inc. in the United States and other countries, and is covered by a patent application pending in the United States.
|
|
Course Dates
 | Most events below can be taken in-class or live, online from your home or office with AnyWare. |
UK Dates | | 12 - 15 Jun | London enrol | | 9 - 12 Oct | London enrol | | 15 - 18 Jan | London enrol | | 9 - 12 Apr | London enrol | US East Coast Dates | | 26 - 29 Jun | New York enrol* | | 31 Jul - 3 Aug | Washington, DC enrol* |
*Work and train on the same day! Attend live US East Coast Courses online from 2pm to 9pm GMT. For AnyWare enrolments, please register at least 7 days prior to the start of the course.
More Dates and Locations.
|
Tuition for Course 1905 (4 Days)
|
|
Bring this or any Learning Tree Course on-site to your location!
|
"Learning Tree Courses bring me up to speed and position me for future jobs within my company".
– B. Parris Director BDP Computer Services UK
|
|
|