• Article 1 :-Introducing two new Amazon EC2 bare metal instances

    Categories: AWS(Amazon Web Services) ||

    Introducing two new Amazon EC2 bare metal instances   Starting today, Amazon EC2 M6i and C6i bare metal instances are available. M6i and C6i instances are powered by 3rd generation Intel Xeon S

  • Article 2 :-Announcing AWS Graviton2-based instances for Amazon Neptune

    Categories: AWS(Amazon Web Services) ||

    Announcing AWS Graviton2-based instances for Amazon Neptune   Starting today, Amazon Neptune announced the general availability of general-purpose T4g and memory-optimized R6g database instance

  • Article 3 :-Amazon EC2 Mac Instances now support macOS Monterey

    Categories: AWS(Amazon Web Services) ||

    Amazon EC2 Mac Instances now support macOS Monterey   Starting today, customers can run macOS Monterey (12.0.1) as Amazon Machine Images (AMIs) on Amazon EC2 Mac instances. Apple macOS Monterey

  • Article 4 :-Announcing AWS Graviton2-based instances for Amazon Neptune

    Categories: AWS(Amazon Web Services) ||

    Announcing AWS Graviton2-based instances for Amazon Neptune   Starting today, Amazon Neptune announced the general availability of general-purpose T4g and memory-optimized R6g database instance

  • Article 8 :-Announcing Amazon Redshift cross-region data sharing (preview)

    Categories: AWS(Amazon Web Services) ||

    Announcing Amazon Redshift cross-region data sharing (preview)   Amazon Redshift data sharing allows you to share live, transactionally consistent data across different Redshift clusters withou

  • Article 11 :-Class Inheritance

    Categories: Python ||

    Instead of starting from scratch, you can create a class by deriving it from a preexisting class by listing the parent class in parentheses after the new class name.The child class inherits the attrib

  • Article 12 :-Built-In Class Attributes

    Categories: Python ||

    Every Python class keeps following built-in attributes and they can be accessed using dot operator like any other attribute −__dict__ − Dictionary containing the class's namespace.__doc__ − Clas

  • Article 13 :-Accessing Attributes

    Categories: Python ||

    You access the object's attributes using the dot operator with object. Class variable would be accessed using class name as follows −emp1.displayEmployee()emp2.displayEmployee()print "Total Employee

  • Article 14 :-Creating Instance Objects

    Categories: Python ||

    To create instances of a class, you call the class using class name and pass in whatever arguments its __init__ method accepts."This would create first object of Employee class"emp1 = Employee("Zara",

  • Article 15 :-Python - Object Oriented

    Categories: Python ||

    Python has been an object-oriented language since it existed. Because of this, creating and using classes and objects are downright easy. This chapter helps you become an expert in using Python's obje

  • Article 16 :-Data Hiding

    Categories: Python ||

    An object's attributes may or may not be visible outside the class definition. You need to name attributes with a double underscore prefix, and those attributes then are not be directly visible to out

  • Article 17 :-Overloading Operators in Python

    Categories: Python ||

    Suppose you have created a Vector class to represent two-dimensional vectors, what happens when you use the plus operator to add them? Most likely Python will yell at you.You could, however, define th

  • Article 18 :-Base Overloading Methods

    Categories: Python ||

    Following table lists some generic functionality that you can override in your own classes −Sr.No.Method, Description & Sample Call1. __init__ ( self [,args...] ) - Constructor (with any optiona

  • Article 19 :-Class Inheritance in Python

    Categories: Python ||

    Instead of starting from scratch, you can create a class by deriving it from a preexisting class by listing the parent class in parentheses after the new class name.The child class inherits the attrib

  • Article 20 :-Destroying Objects

    Categories: Python ||

    Python deletes unneeded objects (built-in types or class instances) automatically to free the memory space. The process by which Python periodically reclaims blocks of memory that no longer are in use

  • Article 21 :-Built-In Class Attributes

    Categories: Python ||

    Every Python class keeps following built-in attributes and they can be accessed using dot operator like any other attribute −__dict__ − Dictionary containing the class's namespace.__doc__ − Clas

  • Article 22 :-Accessing Attributes

    Categories: Python ||

    You access the object's attributes using the dot operator with object. Class variable would be accessed using class name as follows −emp1.displayEmployee()emp2.displayEmployee()print "Total Employee

  • Article 23 :-Creating Instance Objects

    Categories: Python ||

    To create instances of a class, you call the class using class name and pass in whatever arguments its __init__ method accepts."This would create first object of Employee class"emp1 = Employee("Zara",

  • Article 24 :-Creating Classes

    Categories: Python ||

    The class statement creates a new class definition. The name of the class immediately follows the keyword class followed by a colon as follows −class ClassName:'Optional class documentation string'c

  • Article 25 :-Overview of OOP Terminology

    Categories: Python ||

    Class − A user-defined prototype for an object that defines a set of attributes that characterize any object of the class. The attributes are data members (class variables and instance variables) an

  • Article 26 :-Python - Object Oriented

    Categories: Python ||

    Python has been an object-oriented language since it existed. Because of this, creating and using classes and objects are downright easy. This chapter helps you become an expert in using Python's obje

  • Article 27 :-User-Defined Exceptions

    Categories: Python ||

    Python also allows you to create your own exceptions by deriving classes from the standard built-in exceptions.Here is an example related to RuntimeError. Here, a class is created that is subclassed f

  • Article 28 :-Raising an Exceptions

    Categories: Python ||

    You can raise exceptions in several ways by using the raise statement. The general syntax for the raise statement is as follows.Syntaxraise [Exception [, args [, traceback]]]Here, Exception is the typ

  • Article 29 :-Argument of an Exception

    Categories: Python ||

    An exception can have an argument, which is a value that gives additional information about the problem. The contents of the argument vary by exception. You capture an exception's argument by supplyin

  • Article 30 :-Handling an exception

    Categories: Python ||

    If you have some suspicious code that may raise an exception, you can defend your program by placing the suspicious code in a try: block. After the try: block, include an except: statement, followed b

  • Article 31 :-What is Exception?

    Categories: Python ||

    An exception is an event, which occurs during the execution of a program that disrupts the normal flow of the program's instructions. In general, when a Python script encounters a situation that it ca

  • Article 32 :-The assert Statement

    Categories: Python ||

    When it encounters an assert statement, Python evaluates the accompanying expression, which is hopefully true. If the expression is false, Python raises an AssertionError exception.The syntax for asse

  • Article 33 :-Assertions in Python

    Categories: Python ||

    An assertion is a sanity-check that you can turn on or turn off when you are done with your testing of the program.The easiest way to think of an assertion is to liken it to a raise-if statement (or t

  • Article 34 :-Python - Exceptions Handling

    Categories: Python ||

    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 tut

  • Article 35 :-File & Directory Related Methods

    Categories: Python ||

    There are three important sources, which provide a wide range of utility methods to handle and manipulate files & directories on Windows and Unix operating systems. They are as follows −File Obj

  • Article 36 :-The rmdir() Method

    Categories: Python ||

    The rmdir() method deletes the directory, which is passed as an argument in the method.Before removing a directory, all the contents in it should be removed.Syntaxos.rmdir('dirname')

  • Article 37 :-The getcwd() Method

    Categories: Python ||

    The getcwd() method displays the current working directory.Syntaxos.getcwd()

  • Article 38 :-The chdir() Method

    Categories: Python ||

    You can use the chdir() method to change the current directory. The chdir() method takes an argument, which is the name of the directory that you want to make the current directory.Syntaxos.chdir("new

  • Article 39 :-Directories in Python

    Categories: Python ||

    All files are contained within various directories, and Python has no problem handling these too. The os module has several methods that help you create, remove, and change directories.The mkdir() Met

  • Article 40 :-The remove() Method

    Categories: Python ||

    You can use the remove() method to delete files by supplying the name of the file to be deleted as the argument.Syntaxos.remove(file_name)

  • Article 41 :-Renaming and Deleting Files

    Categories: Python ||

    Python os module provides methods that help you perform file-processing operations, such as renaming and deleting files.To use this module you need to import it first and then you can call any related

  • Article 42 :-File Positions

    Categories: Python ||

    The tell() method tells you the current position within the file; in other words, the next read or write will occur at that many bytes from the beginning of the file.The seek(offset[, from]) method ch

  • Article 43 :-The read() Method

    Categories: Python ||

    The read() method reads a string from an open file. It is important to note that Python strings can have binary data. apart from text data.SyntaxfileObject.read([count])Here, passed parameter is the n

  • Article 44 :-Reading and Writing Files

    Categories: Python ||

    The file object provides a set of access methods to make our lives easier. We would see how to use read() and write() methods to read and write files.The write() MethodThe write() method writes any st

  • Article 45 :-The close() Method

    Categories: Python ||

    The close() method of a file object flushes any unwritten information and closes the file object, after which no more writing can be done.Python automatically closes a file when the reference object o

  • Article 46 :-The file Object Attributes

    Categories: Python ||

    Once a file is opened and you have one file object, you can get various information related to that file.Here is a list of all attributes related to file object −Sr.No.Attribute & Desc

  • Article 47 :-The open Function

    Categories: Python ||

    Before you can read or write a file, you have to open it using Python's built-in open() function. This function creates a file object, which would be utilized to call other support methods associated

  • Article 48 :-Opening and Closing Files

    Categories: Python ||

    Until now, you have been reading and writing to the standard input and output. Now, we will see how to use actual data files.Python provides basic functions and methods necessary to manipulate files b

  • Article 49 :-The input Function

    Categories: Python ||

    The input([prompt]) function is equivalent to raw_input, except that it assumes the input is a valid Python expression and returns the evaluated result to you.#!/usr/bin/pythonstr = input("Enter your

  • Article 50 :-The raw_input Function

    Categories: Python ||

    The raw_input([prompt]) function reads one line from standard input and returns it as a string (removing the trailing newline).#!/usr/bin/pythonstr = raw_input("Enter your input: ")print "Received inp

Top articles
Role of Technology in Modern Curriculum Development Published at:- How to Align Curriculum Development with Learning Objectives Published at:- Top 5 Natural Remedies to Shield Your Skin from Holi Colors Published at:- Elevate Your Holi Celebration with this Gujiya Recipe Published at:- Who launched the INSAT 3D satellite and when Published at:- Teaching the Significance of Republic Day to the Next Generation Published at:- Ways to Support the Community on World AIDS Day 2023 of Building Solidarity Published at:- How to Plan the Perfect Winter Wonderland Fest Published at:- Making the Most of Winter Magic Festival Season Published at:- Unleash the Magic: Top Winter Festivals Around the World Published at:- Captivating Moments: Highlights of the Winter Magic Festival Published at:- Embrace the Chill Unforgettable Experiences at the Winter Magic Festival Published at:- Uncovering the Secrets of the Aurora Winter Festival Published at:- 10 Tips for Making the Most of the Winter Festival Published at:- Ultimate Guide to the Aurora Winter Festival Published at:- Ultimate Jack Frost Winterfest Survival Guide Published at:- Complete Guide to Jack Frost Winterfest with Making Memories Published at:- Celebration of Light, Joy, and Togetherness Diwali 2023: Published at:- Experience the Beauty of Diwali 2023 Published at:- Hindu Festival of Lights to Celebrating Diwali 2023 Published at:- Hindu Festival of Lights to Celebrating Diwali 2023 Published at:- Embrace the Festive Vibes Of Diwali 2023 in India Published at:- Achieve Radiant Skin with These Benefits The Power of Skin Toner Published at:- Unveiling the Beauty Benefits of Besan for Your Skin from Dull to Radiant Published at:- Get Glowing with Besan Guide to its Face Transforming Benefits Published at:- Remarkable Benefits of Olive Oil for Skin Whitening Published at:- Unleashing the Power of Platform as a Service in Cloud Computing Published at:- Benefits of Platform as a Service for Cloud Computing Success Published at:- Mastering Cloud Infrastructure Services A Comprehensive Guide Published at:- Choosing the Right Cloud Infrastructure Services for Your Business Published at:- Why Cloud Infrastructure Services Are Essential for Business Success Published at:- Unleashing the Power of Cloud Computing Storage Published at:- Advantages of Cloud Computing Storage Published at:- 10 Creative Ideas for Using Adobe Acrobat Published at:- Unlock the Power of Adobe Acrobat: A Comprehensive Guide Published at:- How to Convert PDFs Easily and Quickly Published at:- When Is the Best Time to Use a PDF Converter Published at:- Advantages of Using a PDF Converter Published at:- Exploring the Benefits of an eLearning Platform Published at:- How to Choose the Right E Learning Platform for Your Needs Published at:- Exploring the Benefits of Vocational Training Published at:- Tips for Choosing the Right Vocational Training Program Published at:- The Pros and Cons of Choosing an AR 15 for Your Next Deer Hunting Rifle Published at:- Why a Universal Basic Income Could be Good Economics for Hard Times Published at:- 7 Reasons Why Every Student Should Own a Personal Computer Published at:- 10 Ways Technology is Revolutionizing Healthcare Published at:- Upcoming Technology In Computer Science Published at:- Capture High Quality Photos and Videos with the VIVO Drone Camera Phone Published at:- PHP and its use Published at:- Why is web application security important for any website Published at:- Technology will be replaced by Android in the future Its correct or not Published at:- Some of the advantages of Angular over other frameworks Published at:- Best E commerce website development services Published at:- Mobile App Security Important in App Development Published at:- Advantages and Disadvantages of Tourism Published at:- What is the best cryptography software Published at:- What are some must read books on economics Published at:- When did Covid start in India Published at:- Which mobile phone has the most sales in India Published at:- Which is the best smartphone under Rs. 8,000 in India Published at:- What are the features of the C language Published at:- Who are the world's top 10 best artists of all time Published at:- What is data binding in AngularJS Published at:- How much do professional gamers earn in India Published at:- What is IT technology Published at:- What's the best mind map software Published at:- What are the service management tools on Linux Published at:- What is cloud computing and its advantages Published at:- How do I raise funds in India for my startup business idea Published at:- What businesses can an electronics and telecommunication engineer start Published at:- What precautions are you taking out of fear of the coronavirus Published at:- Is there a treatment for the Coronavirus Published at:- What is the most popular sport in the world Published at:- What is the key to successful sports betting Published at:- How do I crack Indian Railway Recruitment exams Published at:- What are the top most habits for health, beauty, and fitness of girls aged 14 to 21 Published at:- What is the single best site for homemade health and beauty recipes Published at:- Best Acca Insurance Offers 2022 Published at:- Is Technology Making Leadership More Efficient or Dependent? Published at:- The Value of an International Degree in Business Management Published at:- 5 Startup Lessons They Don't Teach You in College Published at:- Dire Need For A Change Of Syllabus For - 'The Indian Education System' Published at:- Top 10 Reasons Behind the Rise of Aerospace Engineering Career Published at:- What is Component Management in Software Engineering Published at:- PowerApps Versus Microsoft Access Published at:- 3 Things You Need to Fix in Your Website That We Swear You Don't Even Know Published at:- Essential Feature Of Mobile Web Design Published at:- Augmented Reality (AR) Is a Technology That Takes the World Around You and Adds Virtual Content Published at:- How Does A Detailed Discovery Phase Before Custom Software Development Benefits You? Published at:- Custom Software Development Services: A Leap To The Future Published at:- 5 Things You Need to Know About Google+ Published at:- How to Earn From Being a Professional Inviter Published at:- The Social Network Revolution Published at:- Hydrogen Water: Does It Offer Health Benefits? Published at:- Gain proficiency with the Latest Advancements in Nanoscience With a Nanotechnology Journal Published at:- Plastic and Its Effect on Our Health Published at:- Better and Healthy Lifestyle Published at:- 5 Tips to Help You Purchase Beauty Products Online Published at:- Antacid Water and Reverse Osmosis: 5 Differences Published at:- The Pros and Cons of RO Water Filters Published at:-
R4RIn Team
The content on R4RIn.com website is created by expert teams.