Skip to content

Ilm o Irfan

Technologies

  • Home
  • Courses
    • Free Courses
  • Motivational Seminars
  • Blog
  • Books
  • Contact
  • Home
  • Courses
    • Free Courses
  • Motivational Seminars
  • Blog
  • Books
  • Contact
Explore Courses

Introduction to Python

  • August 6, 2022
  • Home
  • Free Book

Table of Contents

Chapter 1 - Introduction to Authors and Book

  • Authors
  • Ms. Samavi Salman
  • Dr. Rao Muhammad Adeel Nawab

Learn to Smile and Appreciate

Your smiling in the face of your brother is charity

Jamia Tirmidhi – Hadith No. 1956
  • A Good Quote
  • Great people have two things on their faces
  • Smile
  • Silence
  • Smile To
  • avoid problems
  • Silence To
  • solve problems

TODO and Your Turn​

Todo Tasks
Your Turn Tasks
Todo Tasks
  • TODO Task 1
    • Write down at least 3 Jokes, share with your colleagues, friends and family members, and Smile from Heart 😊
  • TODO Task 2
    • Write down at least 3 events of your life when someone’s appreciation worked as a turning point for you?
Your Turn Tasks
  • Your Turn Task 1
    • Write down Tasks that you plan to carry out on daily basis to develop a culture of
      • Stay Happy and Keep Happy 😊
      • Appreciation 😊

Life

  • Life
  • Question:
  • Life = Technical Skills (___%) + Human Engineering (___%)
  • Answer:
  • Life = Technical Skills (15%) + Human Engineering (85%)
  • Reference: https://www.youtube.com/watch?v=4js88TyH848
  • Achieving Excellence in Technical Skills
  • Question:
  • How can we achieve excellence in Technical Skills?
  • Answer:
  • Learn Technical Skills by following the best learning methodology, i.e., DO IT YOURSELF
  • Achieving Excellence in Human Engineering
  • Question:
  • How can we achieve excellence in Human Engineering?
  • Answer:
  • Never ever compromise on 3 pillars of Human Engineering
  • Truth
  • Honesty
  • Justice
  • Trade off Between Accuracy and Speed
  • Question:
  • There is a tradeoff between accuracy and speed. When learning a concept, on which aspect should we focus first?
  • Answer:
  • First focus on accuracy, then speed
  • Effect of Taking Notes
  • Question:
  • If you listen to a Lecture, do you remember ____%? If you take notes of a Lecture, do you remember ____%?
  • Answer:
  • If you listen to a Lecture, you remember 11%? If you take notes of a Lecture, do you remember 89%?
  • Five-Step Process - Performing / Solving any Real-world Task / Problem
  • Question:
  • What is the five-step process to solve any Real-world Problem?
  • Answer:
  • To completely and correctly solve any Real-world Problem, follow the following five-step process
  • Plan – in Mind
  • Design – on Paper
  • Execute – at Prototype Level
  • Execute – at Full Scale
  • Feedback – from audience and domain experts for further improvement
  • Time Management is Life Management
  • Make your TODO List to
  • organize and prioritize your daily / weekly / monthly Real-world Tasks
  • What is your Goal?
  • Goals
  • Layer 1 = Become a Student
  • Layer 2 = Become Best Student of Ilm O Irfan Institute, Lahore
  • Layer 3 = Become Best Student of Lahore
  • Layer 4 = Become Best Student of South Punjab
  • Layer 5 = Become Best Student of Punjab
  • Layer 6 = Become Best Student of Pakistan
  • Layer 7 = Become Best Student of South Asia
  • Layer 8 = Become Best Student of Asia
  • Layer 9 = Become Best Student of the World
  • Layer 10 = Become a Benchmark in Teaching and Learning in the History of Mankind
  • Nothing to Lose at Each Layer – Stay Happy and Motivated
  • Advice of My Respected Teacher
  • When you do any Real-world Task,
  • Put Your 100% Effort with Sincerity without Bothering about the Results
  • Question:
  • 100% Effort with Sincerity == > Getting Desired Results It will ____?
  • Answer:
  • 100% Effort with Sincerity == > Getting Desired Results => It will Double Your Confidence
  • Question:
  • 100% Effort with Sincerity == > Getting NOT Desired Results It will ____?
  • Answer:
  • 100% Effort with Sincerity == > NOT Getting Desired Results => It will Double Your Experience
  • Conclusion
  • Nothing to Lose at each Layer of becoming a Benchmark in Teaching and Learning in the History of Mankind Keep Smiling and Stay Motivated

TODO and Your Turn​

Todo Tasks
Your Turn Tasks
Todo Tasks
  • TODO Task 1
    • Write down your level of expertise (beginner, intermediate, expert, excellence) in the following traits
      • Learning any Task by DOING IT YOURSELF
      • Respect of Parents and Teachers
      • Truth
      • Honesty
      • Justice
  • TODO Task 2
    • What change have you made in your goal of life after this Section?
Your Turn Tasks
  • Your Turn Task
    • Write down Tasks that you plan to Perform on a Daily Basis to Improve your
      • Respect of Parents and Teachers
      • Human Engineering Skills
      • Technical Skills

About the Authors​

Life = Technical Skills (15%) + Human Engineering (85%)

Samavi Salman
Dr. Rao Muhammad Adeel Nawab
Samavi Salman

Dr. Rao Muhammad Adeel Nawab

Profile Summary: DR. Rao Muhammad Adeel Nawab

Faculty Profile
Research Profile
Faculty Profile

Research Profile

TODO and Your Turn​

Todo Tasks
Your Turn Tasks
Todo Tasks
  • TODO Task 1
    • Write down your profile based on
      • Human Engineering
      • Technical Skills
  •  TODO Task 2
    • Summarize your life in poetry 😊
      • Summarize your life in one sentence 😊
Your Turn Tasks
  • Your Turn Task 1
    • Write down Tasks that you plan to perform daily to improve your profile both in
      • Human Engineering and
      • Technical Skills

Book Aims, and Book Learning Outcomes, and Book Contents​

  • Why - Learn Python?
  • Python is free, open source, easy to learn and fun to use
  • Python is the fastest growing Programming Language, and it is among the top three Programming Languages of the world
  • Python has extensive online documentation and community support
  • Python is the second-highest paid Programming Language of the world
  • Python is secure (thanks to OWASP Python Security Project) and flexible (i.e., it has a huge number of general and application-specific Libraries and Frameworks)
  • Python is commonly and widely used in many fields including
  • Artificial Intelligence
  • Machine Learning
  • Natural Language Processing
  • Data Science
  • Data Analytics and Data Visualization
  • Cyber Security
  • Web Development
  • Scientific and Mathematical Computing
  • Computer Graphics
  • System Automation and Administration
  • Finance and Trading
  • Game Development
  • Security and Penetration Testing
  • General and Application-specific Scripting
  • Mapping and Geography
  • And Many More 😊
  • Book Focus
  • The focus of the Book is to
  • Learn how to plan, design, and develop high-quality software using Python to solve Real-world Problems
  • Book Aims
  • The main aims of this Book are as follows:
  • Introduce how to achieve excellence in both Technical Skills and Human Engineering to become a balanced and characterful person
  • Introduce how to tell an interesting, connected, and coherent story in a Book
  • Introduce how to (1) plan, (2) design, (3) write, and (4) test / debug, software’s using a Template-based Approach
  • Introduce core concepts of Python Programming Language including constants, variables, pseudo code, flow chart, conditionals, loops, functions, data structures, file handling, exception handling, software texting and software debugging
  • Introduce how to execute Software Life Cycle to completely and correctly develop high-quality software’s using Python Programming Language
  • Effect of Taking Notes
  • By the end of this Book, a reader should be able to:
  • Live and enjoy the blessings of a balanced and characterful life by putting effort on daily basis to achieve excellence in both Technical Skills and Human Engineering
  • Plan, design, and develop high-quality software’s using a Template-based Approach
  • Completely and correctly understand core concepts of Python Programming and how they work together to build high-quality software’s
  • Understand how to solve Real-world Problems using Python Programming Language by completely and correctly executing the Software Life Cycle
  • Understand how the following approaches can be used to efficiently solve both Real-world Problems and Python Programming Problems, including
  • Systematic Thinking Approach
  • Identifying Most Suitable Solution Approach
  • Completeness and Correctness Approach
  • Divide and Conquer Approach
  • Half-Cooked Approach
  • Structured Thinking Approach
  • Inverted Triangle Approach
  • 100% Effort with Sincerity Approach
  • Important Note
  • To successfully achieve all the Book Aims and Book Learning Outcomes, please
  • DO all the TODO and Your Turn Tasks on Time with Truth, Honesty, Justice

Book Outline

  • Why - Learn Python?
  • Introduction
  • Chapter 1 - Introduction to Authors and Book
  • Chapter 2 - Basics of Computer
  • Chapter 3 - Basics of Programming
  • Basics of Python
  • Chapter 4 - Basics of Python
  • Chapter 5 - Constants in Python
  • Chapter 6 - Variables in Python
  • Chapter 7 - Operators and Expressions in Python
  • Chapter 8 - Plan and Design a Python Program Using Flow Charts
  • Software Life Cycle
  • Chapter 9 - Best Coding Practices in Python
  • Chapter 10 - Exception Handling in Python
  • Chapter 11 - Software Testing
  • Chapter 12 - Software Debugging
  • Chapter 13 - Deployment of Software on Client Machine
  • Chapter 14 - Software Life Cycle
  • Selection Structures for Decision Making
  • Chapter 15 - Selection Structures for Decision Making
  • Chapter 16 - if Selection Structure
  • Chapter 17 - if-else Selection Structure
  • Chapter 18 - if-elif Selection Structure
  • Chapter 19 - Nested Selection Structures
  • Repetition Structures
  • Chapter 20 - Repetition Structures in Python
  • Chapter 21 - while Repetition Structure
  • Chapter 22 - for Repetition Structure
  • Chapter 23 - Break and Continue Statements
  • Function
  • Chapter 24 - Functions
  • Chapter 25 - A Step by Step Example to Write Functions – I
  • Chapter 26 - A Step by Step Example to Write Functions – II
  • Chapter 27 - A Step by Step Example to Write Functions – III
  • Data Structures and File Handling
  • Chapter 28 - Basics of Data Structures
  • Chapter 29 - Arrays
  • Chapter 30 - Strings
  • Chapter 31 - Lists
  • Chapter 32 - Tuples
  • Chapter 33 - Sets
  • Chapter 34 - Dictionary
  • Chapter 35 - File Handling
  • Conclusion and Future Work
  • Chapter 36 – Book Main Findings, Conclusion and Future Work

TODO and Your Turn

Todo Tasks
Your Turn Tasks
Todo Tasks
  • TODO Task 1
    • Write down your aims to take this Book.
    • What is your expectation at the end of this Book?
Your Turn Tasks
  • Your Turn Task 1
    • Select a Real-world task and write down its main contents / activities

Book Development and Teaching Methodology ​

  • Book Development Methodology
  • Book aims to Tell a Connect and Coherent Story using a
  • Simple to Complex, Step-by-Step Approach
  • Step 1: Chapter
  • 100% Work is Done by Teacher
  • Step 2: TODO Tasks
  • 50% Work is Done by Teacher
  • 50% Work is to be Done by Students
  • Step 3: Your Turn Tasks
  • 100% Work is to be Done by Students
  • Book Teaching Methodology
  • Book will be taught using Half-Cooked Approach
  • 50% of Work will be Done by Teacher
  • 50% of Work will be Done by Student

Chapter Summary

  • Chapter Summary
  • To summarize, in this Chapter, I presented
  • The power of smile and appreciation
  • How to achieve excellence in both Technical Skills and Human Engineering through this Book?
  • A brief introduction of the authors of the Book
  • Course contents, course aims and course learning outcomes
  • Course development and teaching methodology

In Next Chapter

  • In Next Chapter
  • In Sha Allah, in the next Chapter, I will present a detailed discussion on
  • 3 Ps of Programming
  • Types of Programming Languages
  • Approaches to Convert Source Code into Machine Code
  • IDEs of Programming Languages
Home Page - Introduction to Python
  • Previous
Chapter 2 - Basics of Computer​
  • Next
Share this article!
Facebook
Twitter
LinkedIn
About Us

Ilm O Irfan Technologies believes that honest dedicated hard work with the ethical approach of commitment true to every word, and trust-building is the road to success in any field of business or life.

Quick Links
  • About Us
  • Contact
Useful Links
  • Privacy Policy
  • Terms and Conditions
  • Disclaimer
  • Support
  • FAQ
Subscribe Our Newsletter
Facebook Twitter Linkedin Instagram Youtube

© 2022 Ilmo Irfan. All Rights Reserved.