• No products in the cart.

Practical Python 3.6 Learn to Program Using Python – Workshop eBook


Category: Tags: , , , ,


This workshop introduces the Python language, progressing rapidly to the real-world examples spread across 4 modules and with a final test to ensure that you retained the knowledge. We cover all the basis, from working with local files to the usage of external APIs, working with CSV and JSON.

Module 1: How to get started with Python.

What you will learn …

  • Python’s philosophy.
  • How to install Python
  • How to use the python interpreter.
  • How Python imports work.
  • How to work on a virtual environment.
  • How to create and run a Python script.
  • Using text editors for coding.
  • Standards and PEP8.
  • Various modules which Python comes bundled with.

Module 2: Python Basics

What you will learn …

  • Python flow control statements
  • List, dictionaries and advanced operations on them (slicing and iterating)
  • The difference between classes and instances of an object
  • How Python initialises new objects
  • How to override Python’s built-in methods and types
  • How to login to Twitter through Python
  • How to get an instance’s attributes using the Python shell

Module 3: Files

What you will learn …

  • What the concept of duck typing is.
  • How files work.
  • The CSV Python module.
  • How to use the JSON Python module.
  • How to use these modules in a real life example to extract, process and save data.

Module 4: Practical Project – Weather forecast!

In this module, you will apply all the knowledge from the previous chapters in order to implement a Python module to read data from an API, process the information and display it, using Python plotting library. You need to do these steps in any development so that you will learn how to define what the module works:

  • Read data from an API (http://openweathermap.org)
  • Save the raw data in a file for safekeeping
  • Transform the data, so that it can be fed to the plot module
  • Plot a graph with the weather forecast

You will learn …

  • How to get data from an external API
  • How to transform data to suit your needs
  • How to work with the Python plotting

Module 5: Final Tests

This test is made up of 20 questions in total. You can take as long as you need to answer each question.

Sample question:

Question 15:
What library can you use to create an object to store content in memory that behave like a file?
A – math
B – json
C – csv
D – StringIO


Meet the Instructor

Rui Silva is a computer Scientist from Portugal (http://alfasite.org/) He is a Python developer who loves open-source. He started working as a freelancer in 2008, while he finished his graduation in Computer Science in Universidade do Minho. After his graduation, he started pursuing a master’s degree, choosing the field of parallel computation, mobile and ubiquitous computing. He completed the mobile and ubiquitous computing course. In his 3 years of freelancing, he worked mostly with Python, developing Django websites, Drupal websites and some Magento stores. He also had to do some system administration. After that, he started working in Eurotux Informática, S.A. where he developed websites using Plone, Django and Drupal. He is also an IOS developer and sometimes he performs some system administration tasks. Besides his job, he works as a freelancer using mainly Django and other Python frameworks.

© HAKIN9 MEDIA SP. Z O.O. SP. K. 2013