Python Classroom notes 22/Apr/2025

Programming languages

  • The idea of programming language was to make systems/computers perform custom tasks especially w.r.t applications
  • Python is a language popular as it can be used in
    • Programming
    • Scripting
    • AI
    • Data
  • Python has Zen of Python
    Preview
  • Python is an Open Source Project, And any new feature into python comes as PEP (Python enhancement Proposal)
  • Two import PEP’s

  • References

First steps into python

  • Data types
    • int
    • float
    • str
    • bool
    • list
    • tuple
    • set
    • dict
  • Python is dynamically typed language

REPL (Read evaluate Print loop)

  • Launch terminal
  • Type python (python3 for mac/linux) & enter
    Preview

Built in functions

  • print
  • type
  • id

Python Hello world program

  • Python code

print("Hello")

print("Welcome to python")
  • Exercise:
    • Create a folder and python file
    • Execute
    • Debug

Approach

  1. Data types
  2. Operators
  3. Instructions
  4. Syntax
  5. Code organization
  6. builtins
  7. types
  8. functions
  9. Standard Library
  10. Using external libraries or Packages
  11. Exceptions and Error Handling

General References

  • Websites
  • Books
    • Learning Python
    • Python in a Nutshell
    • Automating Boring Stuff with Python
    • Fluent Python
  • AI Based Learning
    • Perplexity
    • Gemini
    • Chatgpt

Data types

Operators

  • Operators
  • Types:
    • Arthimetic
    • Assignment
    • Comparision
    • Logical
    • BitWise
    • Special Operators

Playing with numeric data

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Plugin for Social Media by Acurax Wordpress Design Studio

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube