Blog

Difference Between JSON vs XML

Difference between JSON(Java Script Object Notation) and XML(eXtensible Markup Language). The major difference between are as follows. No. JSON XML 1) JSON stands for JavaScript Object Notation. XML stands for eXtensible Markup Language. 2) JSON is simple to read and write. XML is less simple than JSON. 3) JSON is easy to learn. XML is […]

Continue Reading

Python Exceptions Handling

Python provides two very important features to handle any unexpected error in your Python programs and to add debugging capabilities in them − Exception Handling: This would be covered in this tutorial. Here is a list standard Exceptions available in Python: Standard Exceptions. Assertions: This would be covered in Assertions in Python tutorial. List of Standard Exceptions − EXCEPTION NAME […]

Continue Reading

Python Strings

Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same as double quotes. Creating strings is as simple as assigning a value to a variable. For example − var1 = ‘Hello World!’ var2 = “Python Programming” Accessing Values in Strings […]

Continue Reading

Python pass Statement

It is used when a statement is required syntactically but you do not want any command or code to execute. The pass statement is a null operation; nothing happens when it executes. The pass is also useful in places where your code will eventually go, but has not been written yet (e.g., in stubs for example): Syntax pass Example #!/usr/bin/python for […]

Continue Reading

Python Syllabus

Introduction History Features Setting up path Working with Python Basic Syntax Variable and Data Types Operator Conditional Statements If If- else Nested if-else Looping For While Nested loops Control Statements Break Continue Pass String Manipulation Accessing Strings Basic Operations String slices Function and Methods Lists Introduction Accessing list Operations Working with lists Function and Methods […]

Continue Reading

Python Basic Free Course For Selenium

This course designed by keeping eyes to the armature and experienced programmer those heaving prior experience in programing they can also grab this topic as well as the armature will find very easy syntax and due to high label in nature.      1.Syntax Python programs can be written using any text editor and should have […]

Continue Reading

How To Read Values From Text File In Robot Framework

In Robot Framework, you can use the keyword “Get File” in OperatingSystem to read values from a text file. Let’s say, you have a text file “doc.txt” in your robot project folder . Bellow is the code how to read file form the text file. *** Settings *** Library OperatingSystem *** Test Cases *** Read […]

Continue Reading

Python Variable Declaration Rules

Variable and Value A variable is a memory location where a programmer can store a value. Example : roll_no, amount, name etc. Value is either string, numeric etc. Example : “Sara”, 120, 25.36 Variables are created when first assigned. Variables must be assigned before being referenced. The value stored in a variable can be accessed […]

Continue Reading

First Python Program Hello World

First Python Program Hello World Let us execute programs in different modes of programming. Interactive Mode Programming Invoking the interpreter without passing a script file as a parameter brings up the following prompt − $ python Python 2.4.3 (#1, Nov 11 2010, 13:34:43) [GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2 Type “help”, “copyright”, “credits” […]

Continue Reading