Notes of Python | AbdurRahman G

Notes of Python






1st chapter (Introduction)

                                                                                       
·         Brief History of Python
·         Python Versions
·         Installing Python
·         Environment Variables
·         Executing Python from the Command Line
·         IDLE
·         Editing Python Files
·         Python Documentation
·         Getting Help
·         Dynamic Types
·         Python Reserved Words
·         Naming Conventions

2nd Chapter (Basic Python Syntax)                                                                           


§  Basic Syntax                                            
§  Comments
§  String Values
§  String Methods
§  The format Method
§  String Operators
§  Numeric Data Types
§  Conversion Functions
§  Simple Output
§  Simple Input
§  The % Method
§  The print Function

3rd Chapter (Language Components)


·         Indenting Requirements
·         The if Statement
·         Relational and Logical Operators
·         BitWise Operators
·         The while Loop
·         break and continue
·         The for Loop

4th Chapter (Collections)  


·         Introduction
·         Lists
·         Tuples
·         Sets
·         Dictionaries
·         Sorting Dictionaries
·         Copying Collections
·         Summary

5th Chapter Functions   


·         Introduction
·         Defining Your Own Functions
·         Parameters
·         Function Documentation
·         Keyword and Optional Parameters
·         Passing Collections to a Function
·         Variable Number of Arguments
·         Scope
·         Functions - "First Class Citizens"
·         Passing Functions to a Function
·         map
·         filter
·         Mapping Functions in a Dictionary
·         Lambda
·         Inner Functions
·         Closures

6th Chapter Modules  


·         Modules
·         Standard Modules - sys
·         Standard Modules - math
·         Standard Modules - time
·         The dir Function

7th Chapter Exceptions      


·         Errors
·         Runtime Errors
·         The Exception Model
·         Exception Hierarchy
·         Handling Multiple Exceptions
·         Raise
·         assert

8th Chapter Input and Output     

·         Introduction
·         Data Streams
·         Creating Your Own Data Streams
·         Access Modes
·         Writing Data to a File
·         Reading Data From a File
·         Additional File Methods
·         Using Pipes as Data Streams
·         Handling IO Exceptions

9th Chapter Classes in Python    


·         Classes in Python
·         Principles of Object Orientation
·         Creating Classes
·         Instance Methods
·         File Organization
·         Special Methods
·         Class Variables
·         Inheritance
·         Polymorphism
           

10th Chapter Regular Expressions   


·         Introduction
·         Simple Character Matches
·         Special Characters
·         Character Classes
·         Quantifiers
·         The Dot Character
·         Greedy Matches
·         Grouping
·         Matching at Beginning or End
·         Match Objects
·         Substituting
·         Splitting a String
·         Compiling Regular Expressions
·         Flags

Post a Comment

1 Comments