Creating HTML Files through Excel File December 05, 2024 Creating HTML Files through Excel File Make tasks easier by creating multiple HTML files through Excel file in just one go.... Indications...Read More
Relocate Bookmarks In Python October 03, 2024 Relocating Bookmarks In PDF Using Python Do you want to change the orientation of Bookmarks in PDF within seconds? If you want to change yo...Read More
OS Module in Python October 30, 2022NOTE : Please change the path with the path of the folder you are working with . import os import shutil print ( os . getcwd ()) os . mkd...Read More
CSV File Handling with Python October 28, 2022 from csv import reader from csv import DictReader from csv import writer from csv import DictWriter # Reading csv files reader...Read More
File Handling with Python October 27, 2022 f = open ( "My_file.txt" ) # opens the file (default mode - read mode) print ( f "cursor position : { f.tell() } " )...Read More
Making own Errors in Python October 26, 2022 # class NotDefined(NameError): # pass # try: # print(a) # except: # raise NotDefined("The name is not defined.....")...Read More
Exception Handling in Python October 25, 2022 while True : try : num1 = int ( input ( "Enter the first number: " )) num2 = int ( input ( "Enter th...Read More
Raising Errors in Python October 24, 2022# Raises different types of errors # syntax error a = 0 if a == 0 print ( "Hi" ) # name error print ( a ) # type error prin...Read More
Rangoli using Python October 23, 2022from turtle import * import turtle turtle . setup ( width = 1.0 , height = 1.0 ) turtle . hideturtle () speed ( 100 ) bgcolor ( "bl...Read More
Python Inheritance October 23, 2022 # Inheritance # Multi-level inheritance # Multiple inheritance class Person : # Grandparent class ---> Multi-level inheritance ...Read More
Encapsulation and Abstraction in Python October 22, 2022# Encapsulation ---> Bundling data and methods # Abstraction ---> Hiding the complexity from user class Person : instances = 0 ...Read More
Class Methods in OOPs In Python October 21, 2022 class Person : instances = 0 def __init__ ( self , first_name , last_name ): self . first_name = first_name se...Read More
Diya October 20, 2022DIYA import turtle turtle . up () turtle . color ( "brown" ) turtle . fillcolor ( "brown" ) turtle . setpos (- 200 , 15...Read More
Class Variables in OOPs in Python October 20, 2022 class Student : age = 10 def __init__ ( self , first_name , last_name ): self . first_name = first_name self ....Read More
OOPs in Python October 19, 2022 # OOP ----> Object Oreiented Programming # makes program easier to manage and help in real world programming # class # object(instance)...Read More