Sunteți pe pagina 1din 5

Python Course

Duration of the course: 5 days


Outline of the course

Day 1
Introduction to Python
The dynamic typing nature of Python
Basic Data Structures
Lists
Dictionaries
Strings
Tuples
Functions in Python
Overloading and keyword arguments

Overview of modules in python


Built-in modules and third party modules

Building applications using built-in modules


Downloading and Installing third party modules
Building Applications using third party modules

Case Study 1

Day 2
Object Oriented Coding
Classes and Objects
The special method – init,
Data hiding in Python
Functional Programming tools in Python
Using map and filter
Creating lambda expressions
Working with list comprehensions

Using module String and Regular Expressions


Crafting a regular expression
Matching and Searching for a pattern
Substituting a pattern
Compiling a regular expressions

Compiling a regular expressions


Understanding modules in python
The import statement and how it works
The attributes of a module
Documenting a module
Creating an importable module

Working with xml


Building an xml using the xml.dom.minidom module
Parsing the xml using the xml.sax module

Building network applications using socket module


Creating a socket server
Creating a socket client

Case study 2

Day 3

The problem of starvation in network applications


Making the server multi-threaded
Using the threading module
The run and the start method

Parsing the command line arguments


Using the argparse module or framework
Adding the options
Accessing the arguments

The subprocess module


Connecting the processes using pipes

The os module
The os.path module
Walking the directory tree
Files and directories

Case study 3

Day 4

More on object oriented programming


Static and Class methods
Inheritance and polymorphism

Working with exceptions


Raising an exception
Understanding the except, else and finally block
Creating your own exceptions

Building GUI in Python


Modules related to GUI development
PyGTK, PyQt, WxPython, tKinter etc
Commonly used widgets
TextBox
Label
Buttons
Menu Building
Dialog Boxes
Catching the signals/events and responding

Case study 4

Day 5

Understanding debugging in Python


Testing in Python
The unittest module in Python
Writing test cases
Using the setup and teardown method

Building a recommendation system using python


Data analysis using Python

Project Discussion
The project is all about un-structured data analysis using python. The project is
all about classifying the news items and categorising the same under different
headings like sports, health-care, politics etc.,

The project uses statistical algorithms and shows how powerful and easy to
build classifiers and recommendation systems using core python.

S-ar putea să vă placă și