Python course concepts
Python course concepts
1. Introduction
a. Features
b. history
c. Where it is used?
d. Popular frameworks and libraries
e. Java vs python
2. Why?
3. Installation
a. Installation of python
b. Installation of pycharm
4. Execute small program
a. Using idle
b. Using pycharm
5. Variable
a. Declaring variable and assigning values
b. Object reference
c. Object identity
d. Multiple Asignment
i. Assigning single value to multiple variables
ii. Assigning multiple values to multiple vaiables
e. Variable types
i. Local variable
ii. Global variable
f. Delete variables
6. datatypes
a. Numbers
b. bool
c. Strings
d. List
i. Characteristics and basic example
ii. Indexing and splitting
iii. Updating list
iv. List operations
v. Iterating a list
vi. Adding elements to the list
vii. Removing elements from the list
viii. Built-in functions
e. Set
i. Create a set
ii. Set method
iii. Add items in set
iv. Update function
v. Remove items
www.codebinx.com
vi. Set operations
1. Union
2. Intersection
3. Intersection_update
4. difference
5. Symmetric difference
6. Set comparison
f. Tuples
i. Creating tuple
ii. Accessing tuple
iii. Delete tuple
iv. Repetition tuples
v. Membership test
vi. Iteration in tuple
vii. Changing whole tuple
g. Dictionary
i. Create dictionary
ii. Access the values
iii. Adding values
iv. Delete elements
1. Pop method
V. iteration
vi. properties
b. While
i. Basic example
ii. Else with while loop
www.codebinx.com
iii. Single statement while block
c. For
i. Basic for loop
ii. Range function
iii. Else statement in for loop
iv. Nested loops
9. Continue, pass and break
10. Functions
a. User defined functions
b. Define functions
c. Calling function
d. Pass by value Vs reference
e. Function arguments
i. Default arguments
ii. Keyword arguments
iii. Required arguments
iv. Variable-length arguments
f. Function within another function
g. Built-in function
h. Lambda function
i. Using lambda with filter
ii. Using lambda function with list comprehension
iii. Using lambda with if-else
iv. Using lambda with multiple statement
11. Modules
a. What is module
b. Import modules
c. Import and rename
d. From….import
e. Import*
f. Locating path
g. Built-in function
12. Exception handling(try,except)
a. Exception vs syntax error
b. Try and except statement
c. How to raise an exception
d. Try with else clause
e. Finally keyword
f. Exception list (list of built-in exception)
13. Assertion
a. Why?
b. Where it is used
c. Assertion error
www.codebinx.com
14. File handling
a. Open a file
b. Mode in file i/o
c. Close a file
d. Autoclose using with statement
e. Write a file
f. Read a file
g. Read file through for loop
h. Readlines of the file
i. Create a new file
j. File pointer position
k. Modifying file pointer position
l. Writing output to the files
m. File related built-in methods list
15. Os module
a. Os.name()
b. Make directory
c. Get current working directory
d. Change directory
e. Remove directory
f. Error
g. Popen
h. Close
i. Rename
www.codebinx.com
f. encapsulation
19. Generators
a. Yield statement
b. Yield vs return
c. Multiple yield statement
d. Generator expression
e. Memory efficiency in generator
20. List comprehension
a. Using list comprehension to iterate string
b. Using condition in list comprehension
c. Nested list comprehensions
21. Collection module
a. Namedtuple
b. Deque
c. Chain map
d. Ordereddict
e. Defaultdict
f. Userdict, userstring, userlist
22. Threads
a. Multi threading
b. Synchronization
i. Race condition
c. Threads life cycle
www.codebinx.com