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
  • some important built in functions
    • print
    • type
    • input
    • id

Vscode setup

  • After installing vscode. open extensions
  • Ensure python extension from microsoft is installed
  • Ensure jupyter extension from microsoft
  • 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 comment

Turn on JavaScript to leave a comment.

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%