|Hour/sem||Lectures||Sem. Exercises||Lab. exercises||Comp. exercises||Other|
|Guarantee:||Smrž Pavel, doc. RNDr., Ph.D., DCGM|
|Lecturer:||Smrž Pavel, doc. RNDr., Ph.D., DCGM|
|Faculty:||Faculty of Information Technology BUT|
|Department:||Department of Computer Graphics and Multimedia FIT BUT|
To examine the topic of scripting languages and their applications. To understand complementarity of the class of languages to systems languages, their strengths and weaknesses. To conceive basics of regular expressions, text processing, client- and server-level scripting and GUI programming using Python.
Basic concepts: scripts and scripting, scripting versus programming, an overview of scripting languages, macro languages, scriptable objects and componentware, basics of Python and Perl, client-side and server-side web scripting, portability issues, Unix system hacking, scripting issues in other languages, scripting languages for graphical user interface programming.
|Subject specific learning outcomes and competences:|
Students will get acquainted with modern scripting languages, having successfully completed the course, students will be able to demonstrate knowledge and understanding of the nature of scripting and the role of scripting languages, the syntax and semantics of Python, write simple scripts to automate system administration tasks using appropriate languages and rapidly develop simple applications using appropriate tools.
|Generic learning outcomes and competences:|
The students will learn to work in a team. They will also improve their programming skills and their knowledge of modern development tools.
|Syllabus of lectures:|
- Introduction, a brief history of scripting languages, pros and cons, comparison of languages
- Basic statements, types, operators, functions, modules, classes, exception handling
- Regular expressions in Python and Perl
- Data structures, efficient implementation of search
- Standard libraries for high-level programming in Python
- Simple scripting for OS Unix, automating system administration
- Interfaces to system languages, using components implemented in C
- Text processing, sorting, character sets, language-specific features
- XML document processing, libraries for efficient storage and search
- Modern object oriented programming, comparison with C and Java
- Scripting languages for web application development, client-side and server-side programming
- GUI programming, Tkinter library for Python programming
- Other libraries for GUI development, platform-specific features, Python for Java - Jython
|Syllabus - others, projects and individual work of students:|
- Projects consist in a general problem to be solved, mostly by writing a medium-sized script in Python. Electronic submission of assignments are required using IS FIT.
- Beazley, D.M.: Python - Podrobná referenční příručka pro programovací jazyk Python. Neocortex (in Czech).
- Abelson, H.: Structure and interpretation of computer programs, Cambridge. MIT Press, 2002.
- Harms, D., Macdonald, K.: Začínáme programovat v jazyce Python. Computer Press, ISBN 80-7226-799-X (in Czech).
- Lutz, M., Ascher, D.: Naučte se Python - Pohotová příručka. Grada, 2003, ISBN 80-247-0367-X (in Czech).
The evaluation includes mid-term test and an individual project. The mid-term test does not have a correction option.
- Mid-term test - up to 9 points
- Individual project - up to 40 points
- Realized individual project