Introduction to Programming With Python
What Will I Learn?
- To familiarize yourself with programming and the Python Programming language.
Topics for this course
Introduction to Programming
What is Programming? ; Why you should learn programming; Programming Languages; Resources needed for the course; Python Installation; Environment Setup
Data Types, Variables
Primitive types; Characters & Strings; Boolean; Working with variables and its scope; Type conversion and casting.
Operators and Expressions:
Introduction of operators; Arithmetic operators; Relational operators; Assignment operator; Logical operators; Increment and decrement operators; More in operators.
Operators and Expressions
The while, while-else; do-while and for loop; Jump statements: break, continue; Nesting loops.
Lists. Tuples. Dictionary. Using Built-in modules and functions for strings, math and dates. Object-Oriented Programming (OOP) principles.
Creating and using Functions. Creating a Module in class; Calling a Module; Returning value from a Module; Adding a Method that takes parameters;
Introduction to Classes and Objects:
Creating a Class; Creating an Object; Using an Object; Adding Instance variables; Controlling accessibility; Naming conventions for class members. Inner Classes. Class Constructors; Parameterized Constructors. Inheritance. Overload.
Fundamentals of exception handling; Exception types; Using try and except.
Open, Traverse, Read and Create Files: Csv, txt and Json Files.
Connect to a database, create Database, drop a database, create a table, alter tables, drop a table, insert, delete, update records, query a database and display results.
Connecting to API’s