Skip to main content
Skip header

Scripting Languages

Type of study Bachelor
Language of instruction Czech
Code 460-2060/01
Abbreviation SKJ
Course title Scripting Languages
Credits 4
Coordinating department Department of Computer Science
Course coordinator Ing. Jan Gaura, Ph.D.

Subject syllabus

Lectures

- Scripting languages. Motivation for their use. Key features and comparison of some popular scripting languages ​​- Ruby, JavaScript, Perl, Python, Tcl.
- Python construction: flow control, function definitions, parameter assignment, function calling.
- Python construction: collections, iterators, generators, closures, reflections. Examples of using techniques and their comparison with Java or C # technologies.
- Python and object programming: definition of classes, methods, variables.
- Testing and debugging the source code.
- Standard and application oriented Python libraries. Usage of embedded Web server, remote procedure call, ElementTree XML library and JSON format.
- Using Python to design web applications. Web Frameworks for Python.
- Implement a "server-side" web application. Implementing a "client-side" web application. Creating forms. Collaborate with the client using JavaScript.
- Web services, XML data exchange and JSON. Implementation of web services using the REST method.
- Connection of Python programs to databases and spatial databases. Creating geographical web applications.
- Using Python to construct a GUI.
- Using Python to design multimedia applications and games.
- Programming parallel and mathematical applications in Python.


Exercises

Exercises will discuss topics theoretically explained in lectures.

- Getting familiar with the development environment. Example of interactive mode. Creating scripts in selected languages ​​and comparing them.
- Introduction of basic Python constructs, flow control, usage of list and vocabulary types.
- Define functions, how to pass parameters, call functions, write lambda functions and use them process lists.
- Introduction of collections, iterators, generators, closures and reflections. Using these techniques and their comparison with Java or C# technologies.
- Object-oriented programming. Definition of classes, methods, variables.
- Presentation of a standard library. Work with embedded web server, ElementTree XML library.
- Implementing remote method calls using XML-RPC.
- Creating web applications. Data model implementation.
- Creating web applications. Realization of forms. Collaborate with the client using JavaScript.
- Advanced web application programming. Exchange of data with a client using XML and JSON.
- Spatial data processing.
- Construction of a GUI in Python.
- Programming with threads and processes.

E-learning

Basic materials are available on the educator's website: https://github.com/geordi/skj-course

Literature

PILGRIM, Mark. Dive into Python 3. Apress, 2010. ISBN 978-1430224150 .

Advised literature

HARMS, Daryl D., MCDONALD, Kenneth. The Quick Python Book. Manning Publications, 2000. ISBN 978-1884777745 .