DevOps Classroom notes 28/Sep/2025

Python

  • python is a dynamically typed language and executes the instructions line by line

Datatypes

Operators

REPL (Read evaluate print loop)

  • Open terminal and type python
    Preview
  • some important built in functions

    • print
    • type
    • input
    • id

Vscode setup

  • After installing vscode. open extensions
  • Ensure python extension from microsoft is installed
    Preview
  • Ensure jupyter extension from microsoft
    Preview
  • Jupyter as of now can be seen as enhanced repl.
  • Jupyter allows you to document and write code
  • Ensure pylint is installed

Creating a new folder & create python file and jupyter notebook

  • Create a new folder
  • cd into folder
code .
  • To create python file and notebook watch classroom video.
  • To execute python files
python filename.py

Variables in python

  • Variables are alias to memory locations
  • Variable in python will have a name and value, in the below case x, y, z are variables
x = 5
y = 5.0
z = 'hello'

Naming conventions

Numeric Datatypes and related operators

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
Animated Social Media Icons by Acurax Responsive Web Designing Company

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