There are no specific requirements needed to attend this course.
This course is designed for those wishing to learn the Python programming language. The emphasis is on the Python language, the core libraries, as well as on the selection of the best and most useful libraries developed by the Python community. Python drives businesses and is used by scientists all over the world – it is one of the most popular programming languages.
The course can be delivered using Python 2.7.x or 3.x, with practical exercises making use of the full power of both versions of the language. This course can be delivered on any operating system (all flavours of UNIX, including Linux and Mac OS X, as well as Microsoft Windows).
The practical exercises constitute about 70% of the course time, and around 30% are demonstrations and presentations. Discussions and questions can be asked throughout the course.
Note: the training can be tailored to specific needs upon prior request ahead of the proposed course date.
Day 1) Introduction to Python Programming
- Running Python code
- Using Python Development Tools (IDEs and command line tools), including:
- ipython
- virtualenv
- Creating modules and packages
Day 1) Data Types and Operations
- Integers and floats
- Strings and bytes
- Tuples and lists
- Dictionaries and sets
Day 1/2) Object Oriented and Functional Programming
- Creating and using functions and classes
- Modifying functions and classes with decorators
Day 2) Error Handling
- Handling and raising exceptions
- Testing
Day 2) Working with Files and Directories
- Creating and deleting directories, listing and searching for files
- Accessing different types of files and file handling principles
- Creating, reading, updating and deleting files
Day 3) Performing ETL operations in Python
- Introduction to pure Python ETL libraries:
- Extracting data from text files using Regular Expressions
- BeautifulSoup - HTML parsing basics
- Scrapy + Portia - automating web scraping
- Using 3rd party ETL libraries from Python:
- Selenium - automating operations in a web browser
- Automagica:
- Basic Operations