Posts

Showing posts with the label Python

Python for Network Engineers (Part-1)- Variable Declaration

Image
  Variable Declaration  Rules for Variable Names: ====================== 1. A variable can have a short name (like x and y) or a more descriptive name (cisco, server_names). Rules for Python variables:  2. A variable name must start with a letter or the underscore character. A variable name cannot start with a number 4. A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ) 5. Variable names are case-sensitive (cisco, Cisco and CIsco are three different variables) PS C:\Users\Trainer_PC> python Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> >>> Cisco = "CCNA" >>> Cisco 'CCNA' >>> Cisco = "CCNA->CCNP>CCIE" >>> Cisco 'CCNA->CCNP>CCIE' >>> Juniper = "JNCIA-JUNOS,JNCIS-SEC,JNCIP-SEC...

About Python

Image
What is Python? Python is a popular programming language. It was created by Guido van Rossum, and released in 1991. Python is an interpreted , object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together. *** Difference between Compiler & Interpreter Compiler & Interpreter both converts Source code from Higher Level to its Lower Level               Compiler                 Interpreter It scans whole source code & translate the whole program at a time It translate the source code line by line Scanning time is high but execution time is less Scanning time faster for single line but overall e...

(2) Dreampie installation for python

Image
Video on DreamPie  Installation in Windows-10 for Pyhton Coming soon insha-Allah, Screen shot are given below.

(1) Python Installation in Windows OS

Image
Video on Python Installation in Windows-10 Video link :  Python