WELCOME TO GURU TECH
EXPLORE THE BEYOND
¤ GT corporate policy's are
applicable ¤
Advance training syllabus for python
Cl ass
Introduction to classes
2. Sample class
3. Self (Parameter)
4. Object creation
5. Attributes of an object
6. Objects attributes OVERWRITES class variable
7. Constructor
8. How to send arguments to __init__ ?
9. Multiple arguments in init (constructor)
10. Use *args for multiple parameters in the init constructor
11. Use for loop to access multiple values in constructor
12. Constructor / (instance variable) is shared by all methods
13. Class attribute vs Instance attribute
14. When to use what variable (class vs instance variable)
15. Class &, instance attributes with one method
16. Class & instance attributes with one or more methods
17. Class variables vs Instance Variables. Points to ponder
18. How to modify the instance variable
19. How to modify the class variable
20. Class variable and instance variable names are same?
21. A small Bank ATM application using class
22. creating class attributes dynamically
23. Accessing class variables
24. Points to ponder on ‘self’ parameter
String Function - Detailed Functionary's
File IO - Detailed Functionary's
Col l ect i ons
1. [Link]
2. Letter/char Counter
3. Word Counter ¤ GT corporate policy's are
applicable ¤
4. split() with counter
5. Get count of individual element
6. Set count of individual element
7. Get total number of elements in Counter
8. negative numbers are counted in Counter
9. + and – signs in Counter
10. Get elements() (only positive counter are kept)
11. elements() brings back the original number of elements
12. Shows keys with negative value
13. Counter with negative values
14. Remove keys with 0/zero or negative value
15. Clear()-Remove everything
16. Add / Remove individual elements - Update
17. Add / Remove individual elements -Subtract
18. [Link]
19. Ordered dict creation, using list of tuples
20. create an empty OrderedDict and then add items:
21. Counter.most_common()
22. difference of output between dict and OrderDict
23. collections/named tuple
24. access values using field names and the dot notation in
named tuple.
25. [Link]
26. Deque is an iterable
27. Append() and appendleft()
28. Pop() and popleft()
29. Extend and extendleft()
30. rotate()
31. rotate() – negative
32. reversed()
33. Deque with maxlength and without maxlength
34. [Link]
¤ GT corporate policy's are
applicable ¤
Python Generators, Iterators and Iterable
1. Python Generators, Iterators and Iterable
2. Iterables
3. Example for iterables
4. Python Iterators
5. Iterator vs Iterable
6. Generator
7. How to create a generator in Python?
8. Differences between Generator function and a
Normal function
9. Generator functions
10. Generator fn returns only generator object, NOT the
values
11. By default generator objects traverses only once
12. Use for-loop / list / next() to access the values
from generator object
13. Use yield and return in generator function
14. Generator execution example
15. Implement a generator function
16. What happens if we provide yield AFTER ‘return’
17. What happens if we provide yield AFTER ‘break
18. When it becomes generator function
19. Yield gives generator object
20. build your own iterator using __iter__ and
__next__ methods
21. Iterator isn't reentrant!
22. When to use a Generator?
23. Generator expressions
24. Call the function with ‘return’ vs ‘yield’ - ‘return’
25. Call the function with ‘return’ vs ‘yield’ - ‘yield
¤ GT corporate policy's are
applicable ¤
26. Send 2 iterbales to generator fn
27. using * (args notation)
28. The generator fn give preference only to the generator object
to be produced, other codes will NOT be executed
29. Store the value of the generator object as list
30. Resetting a generator
31. How to reset a generator
32. Generator are not rentrant – so store it list
33. Infinite sequences can be controlled by generator function
34. Sending objects to a generator /yield
35. How to work with fn, with out sending data (parameter)?
36. Send() accepts only one parameter to fn
37. under what circumstances we send object to generator
38. Nested loop and generater object
39. Yield from
40. yield from , takes any number of iterables and adds to gether
41. *args and yield from
42. Yield from and a function()
43. Iteration
44. next(iterator[, default])
Itertools Module
[Link] iterators
2. Iterators terminating on the shortest input sequence
3. Combinatoric generators
Comprehensions
1. Comprehensions
2. List comprehension
3. Syntax for general list comprehension (Type 1)
4. Syntax for list comprehension with if condition (Type 2)
5. Modify only one element
¤ GT corporate policy's are
applicable ¤
6. list comprehension with if ..else condition (Type 3)
7. Generator Expression (tuple comprehension)
8. The expression can be as complex as needed
9. Pass argument to a function using comprehension
10. Prebuilt function inside comprehension
11. Double Iteration
12. In-place function / Mutation and Other Side Effect
13. Example for in-place function (returns None)
14. Pure function vs In-place function / Mutation
15. Whitespace in list comprehensions
16. Conditional List Comprehensions
17. Dict comprehension
18. The minimal syntax for dict comprehension
19. Conditionals in Dictionary Comprehension
20. Multiple if Conditional Dictionary Comprehension
21. if-else Conditional Dictionary Comprehension
22. Advantages of Using Dictionary Comprehension
23. Warnings on Using Dictionary Comprehension
OOPS - Obj ect -or i ent ed pr ogr ammi ng (OOP)
[Link] - Object-oriented programming (OOP)
[Link]
[Link] to use Super()
[Link] to pass arguments to parent class constructor from child
constructor
[Link] to use issubclass, isinstance
[Link] Patching
[Link] is Inheritance in Python?
[Link] of Inheritance
[Link] inheritance
10. Multiple inheritance
11. Multilevel inheritance
12. Hierarchical inheritance
13. Hybrid inheritance
14. 2 base classes with same method names
¤ GT corporate policy's are
applicable ¤
Python Method Overloading
[Link] is method overloading
[Link] we have method overloading in Python?
[Link] | Method Overloading
[Link] decorator
5.2 methods with same name and same number of parameters
6.2 methods with same name but diff number of parameters
[Link] of method overloading
Python Method Overriding
1. Python Method Overriding
2. What is Method overriding
3. An example of basic overriding in Python
4. Method overriding changes the behaviour of the
parent class’ methods
5. Method overloading in generator
6. Passing an object as an argument then access the
method
7. What are the advantages of method overriding
Polymorphism
1. What is polymorphism
2. Example of Polymorphism in Python
3. Polymorphism in ‘+’operators
4. Polymorphism in ‘*’operators
5. Polymorphism in Functions
6. Polymorphism in Classes
7. Normal inheritance
8. Duck Typing (Without inheritance)
9. Ducktyping also allows to check for method existence
and call that method
¤ GT corporate policy's are
applicable ¤
OOPS - Object-oriented programming (OOP)
1. Inheritance
2. Encapsulation
3. Polymorphism
4. and Data abstraction.
1. OOPS – Data Abstraction in Python
2. Abstraction in Python
3. Why Abstraction is Important?
4. What is an abstract class?
5. How Abstract Base classes work
6. Working of the Abstract Classes
7. Abstract method should not be defined / implemented
8. Why use Abstract Base Classes
9. Points to Remember
OOPS - Object-oriented programming (OOP)
1. OOPS - Object-oriented programming (OOP)
2. Encapsulation in Python
3. Example for no encapsulation
4. Example for encapsulation
Importing modules
[Link] modules
2. import a particular function
3. Multiple imports can be made on the same line
4. Multiple modules
5. Multiple functions
6. Multiple functions with alias
¤ GT corporate policy's are
applicable ¤
7. Keywords and syntax can be used in
combinations
8. Import modules from an arbitrary
filesystem location
9. Importing ALL names from a module
10. Starred imports are only allowed at the
module level
11. PEP8 rules for Imports
12. Importing specific names from a module
13. Importing submodules
14. You can't just import the module again to
revert
15. Re-importing a module
High order functions (MRF)
1. High order functions (MRF)
2. What are high order functions
3. Functions as objects
4. MRF - map() Function
5. MRF - Reduce Function
6. With initial value
7. MRF - Filter Function
¤ GT corporate policy's are
applicable ¤
Benefits
Basics of SQL
Mock Interviews
Interview Guidance
¤ GT corporate policy's are
applicable ¤
ABOUT US
AT GURU TECH, WE THINK THAT CORPORATE TRAINING SHOULD BE APPROACHED
HOLISTICALLY. WE USE A MIXED LEARNING APPROACH THAT GOES BEYOND
CONVENTIONAL CLASSROOM SETTINGS AND INCORPORATES INTERACTIVE
WORKSHOPS, LIFELIKE SIMULATIONS, ONLINE MODULES, AND CONTINUING
COACHING. THIS MULTIFACETED APPROACH MAKES SURE THAT PARTICIPANTS
NOT ONLY ACQUIRE THEORETICAL INFORMATION BUT ALSO GROW IN THEIR
ABILITY TO APPLY PRACTICAL SKILLS AND CRITICAL THINKING TO THEIR
EVERYDAY JOBS.
¤ GT corporate policy's are
applicable ¤