Frequently, tasks can be solved following some pattern. Design patterns can be used to group tasks and their solutions. Often problems can be solved with existing patterns. Furthermore, patterns offer a common language for developers with well defined terms to communicate about complex tasks.
In Python many problems can be solved more easily than in other languages. Therefore, several design patterns are not necessary or they are already implicitly contained in the languages.
The Principles of writing pythonic programs are explained and supported with examples. Topics such as beauty of source code, explicit programming, simplicity, readability, and exception handling are included.
One pythonic principle is "It's easier to ask for forgiveness than permission (EFAP)". Opposed to the approach to look before you leap, this principle states that you should first try an action and if it fails react appropriately. Python' strong exception handling supports this principle and helps to develop robust and fault tolerant programs.
Meta classes are an advanced topic of Python programming. Applying meta calsses Complex tasks may be be solved in an elegant manner. The use of meta classes is demonstrated with examples.
Singeltons are objects of which only one instance is supposed to exist. Python provides several ways to implement singeltons. These possibilities are shown using examples.
Null objects can be used instead of the type None to avoid tests for None. Implementation, usage as well as advantages and disadvantages are covered.
Proxies stand for other objects. Setup and usage of proxies are covered.
The observer pattern allows several objects to have access to the same data. The principles of this pattern are shown with a comprehensive example.
Parameters of constructors are often assigned to instance variables. This pattern can replace a many lines of manual assignment with only one line of code.
0.5 days
The participants can follow all steps directly on their computers. There are exercises at the end of each unit providing ample opportunity to apply the freshly learned knowledge.
Every participant receives comprehensive printed materials that cover the whole course content as wells as a CD with all source codes and used software.
The course may be combined with the course Python for Nonprogrammers or Python for Programmers.
What customers say ...
We had a wide range of Python experience in our group and each person gained something valuable to take away....
Dr. Ryan Woodard, Chair of Entrepreneurial Risks, ETH Zurich, Switzerland more ...
I can absolutely recommend this course to everybody who wants become productive with Python very quickly. ...
Dr. med. Beat Meister, Bern, Switzerland more ...
The standard Python for programmers and the customized "Python for Experts" course where a great success. ...
Bart Hillaert, Alcatel-Lucent Belgium more ...
[The trainer] knows well what scientists need, so his hints are very practical and valuable. The hands-on course [..] covers a wide range of examples and will be very helpful in my daily work. ...
Dorota Jarecka, University of Warsaw about the course "Python for Scientists and Engineers" more ...
The course "Python for Scientists and Engineers" is a very useful introduction to Python programming for scientific applications ...
Dr Mihai Duta, Oxford Supercomputing Centre more ...
Very good introduction to the programming language.
Matthias Enderle, freelancer programmer more ...
Course "Python für Programmierer" (German), September, 17 - 19, 2010
details ...
Next Meeting of Leipzig Python User Group, September 21, 2010
details ...
Course "Python für Programmierer" (German), November, 10 - 12, 2010
details ...
Kurs "Django Python Web-Framework" (German), November 29 - Dezember 1, 2010
details ...