DS_Python_Basic_2 Days Santanu
DS_Python_Basic_2 Days Santanu
Duration: 2 days
Santanu Chatterjee
Program Outline & Description s
Objective:
1. After the training, participants should be able to approach any programming problem
using the python programming language
2. Participants will be able to create and understand existing reusable python classes,
error handling, and usage of different inbuilt modules in Python in appropriate
circumstances.
Prerequisites - s
Basic knowledge of programming is expected in any language. For those with zero programming
knowledge, they need to watch first two videos of https://www.youtube.com/watch?v=k6U-
i4gXkLM&list=PL38986218EEA17EB3
Course Contents - s
Module 5: Functions
• Simple Function declaration
• Function with parameter
• Variable Scope
• The “global” statement
• Function with default and keyword arguments
• Function with no return
• Anonymous function
• Introduction to lambda
Module 7: Files
• What is File Input output?
• How to open a file
• How to close a file
• Read and write data to a file
Assignments
End of Day 1
Module 8: More on lists
• Higher order functions
• map, filter, reduce
• Usage of lambda
• List comprehension
• Filtered list comprehension
Assignments
End of Day 2