Core Python
Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. Python’s simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed.
Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception.
Course Highlights
Introduction to Core Python
- History
- Features
- Setting up path
- Working with Python
- Basic Syntax
- Variable and Data Types
- Operator
Conditional Statements & Looping
- If
- If-else
- Nested if-else
- For
- While
- Nested loops
Control & String Manipulation
- Break
- Continue
- Pass
- Accessing Strings
- Basic Operations
- String slices
- Function and Methods
Lists
- Introduction
- Accessing list
- Operations
- Working with lists
- Function and Methods
Tuple
- Introduction
- Accessing tuples
- Operations
- Working
- Functions and Methods
Dictionaries
- Introduction
- Accessing values in dictionaries
- Working with dictionaries
- Properties
- Functions
Functions
- Defining a function
- Calling a function
- Types of functions
- Function Arguments
- Anonymous functions
- Global and local variables
Modules
- Importing module
- Math module
- Random module
- Packages
- Composition
Input-Output
- Printing on screen
- Reading data from keyboard
- Opening and closing file
- Reading and writing files
- Functions
Exception Handling
- Exception
- Exception Handling
- Except clause
- Try? finally clause
- User Defined Exceptions