Booking options
£3,697
£3,697
Delivered Online or In-Person
You travel to organiser or they travel to you
Redhill
5 days
All levels
Python is an agile, robust, expressive, fully objectoriented, extensible, and scalable programming language. It combines the power of compiled languages with the simplicity and rapid development of scripting languages. This course covers Python from the very basics of 'hello world!' through to object oriented programming and advanced topics such as multi threading. Hands on follows all the major sections in order to reinforce the theory.
What will you learn
Read Python programs.
Write Python programs.
Debug Python programs.
Use Python's objects and memory model as well as its OOP features.
Complete Python programming training course details
Who will benefit:
Anyone wishing to learn Python.
Prerequisites:
None.
Duration
5 days
Welcome to Python:
What is Python? Origins, features. Downloading and installing Python, Python manuals, comparing Python, other implementations.
Getting started:
Program output, the print statement, "hello world!", Program input, raw_input(), comments, operators, variables and assignment, numbers, strings, lists and tuples, dictionaries, indentation, if statement, while Loop, for loop. range(), list comprehensions. Files, open() and file() built-in functions. Errors and exceptions. Functions, Classes, Modules, useful functions.
Python basics:
Statements and syntax, variable assignment, identifiers, basic style guidelines, memory management, First Python programs, Related modules/developer tools.
Python Objects:
Other built-in types, Internal Types, Standard type operators, Standard type built-in functions, Categorizing standard types, Unsupported types.
Numbers:
Integers, Double precision floating point numbers, Complex numbers, Operators, Built-in and factory functions, Other numeric types.
Sequences: strings, lists, and tuples:
Sequences, Strings, Strings and operators, String-only operators, Built-in functions, String built-in methods, Special features of strings, Unicode, Summary of string highlights, Lists, Operators, Built-in functions, List type built-in methods, Special features of lists, Tuples, Tuple operators and built-in functions, Tuples special features, Copying Python objects and shallow and deep copies.
Mapping and set types:
Mapping Type: dictionaries and operators, Mapping type built-in and factory functions, Mapping type built-in methods, Dictionary keys, Set types, Set type operators, Built-in functions, Set type built-in methods.
Conditionals and loops:
If, else and elif statements, Conditional expressions, while, for, break, continue and pass statements, else statement . . . take two, Iterators and iter(), List comprehensions, Generator expressions.
Files and input/output:
File objects, File built-in functions [open() and file()], File built-in methods and attributes, Standard files, Command-line arguments, File system, File execution, Persistent storage modules.
Errors and exceptions:
What are exceptions? Detecting and handling exceptions, Context management, Exceptions as strings, Raising exceptions, Assertions, Standard exceptions, Creating Exceptions, Why exceptions, Exceptions and the sys module.
Functions:
Calling, creating and passing functions, formal arguments, variable-length arguments, functional programming, Variable scope, recursion, generators.
Modules:
Modules and files, Namespaces, Importing modules, Module import features, Module built-in functions, Packages, Other features of modules.
Object-Oriented Programming (OOP):
Classes, Class attributes, Instances, Instance attributes, Binding and method invocation, Static methods and class methods, Composition, Sub-classing and derivation, Inheritance, Built-in functions for classes, and other objects, Customizing classes with special methods, Privacy, Delegation, Advanced features of new-style classes (Python 2.2+), Related modules and documentation.
Execution environment:
Callable and code Objects, Executable object statements and built-in functions, Executing other programs. 'Restricted' and 'Terminating' execution, operating system interface.
Regular expressions:
Special symbols and characters, REs and Python, Regular expressions example.
Network programming:
Sockets: communication endpoints, Network programming in Python, SocketServer module, Twisted framework introduction.
Internet client programming:
What are internet clients? Transferring files, Network news, E-mail.
Multithreaded Programming:
Threads and processes Python, threads, and the global interpreter lock, The thread and threading Modules.
GUI programming:
Tkinter and Python programming, Tkinter Examples, Brief tour of other GUIs.
Web programming:
Web surfing with Python: creating simple web clients, Advanced Web clients, CGI: helping web servers process client data, Building CGI applications, Using Unicode with CGI, Advanced CGI, Web (HTTP) Servers.
Database programming:
Python database application programmer's interface (DB-API), ORMs.
Miscellaneous
Extending Python by writing extensions, Web Services, programming MS Office with Win32 COM, Python and Java programming with Jython.