Skip to main content

Featured

VIDEO DOWNLOADER USING PYTHON

 SO IN THIS BLOG I WILL SHOW THE VIDEO DOWNLOADER.SO YOU HAVE TO ENTER THE LINK OF THE VIDEO AND PASTE IT IN THE PROGRAM AND IT WILL BE DOWNLOADED IN THE FOLDER YOU HAVE SAVED IT.SO YOU CAN MAKE A FOLDER FOR THIS PROGRAM. REQIREMENTS :- pip install pytube SOURCE CODE-: from pytube import YouTube  url = input("enter the url of video: ") my_video = YouTube(url) print("***********video title***********") print(my_video.title) print("***********thumbnail image***********") print(my_video.thumbnail_url)      print("downloading video") my_video = my_video.streams.get_highest_resolution() my_video.download() print("video downloaded") SO THIS IS THE SOURCE CODE. THANK YOU.

CLOCK USING PYTHON

HELLO EVERYONE MY NEW POST ON MY NEW PYTHON FILE WHICH IS A CLOCK USING PYTHON SO PLEASE TRY IT OUT AND YOU HAVE TO DO SOME SETTINGS
LIKE SECONDS,  MINUTES, HOURS .SO ENTER THE CORRECT TIME AND IT WILL WORK FOR YOU I HOPE


seconds = 00
minutes = 20
hours = 12
import time
from turtle import *
setup()
t1 = Turtle()
t1.color("cyan")
t1.goto(-255,0)

while True:
    t1.clear()
    t1.write(str(hours).zfill(2)+":"+str(minutes).zfill(2)+":"+str(seconds).zfill(2),font=("ravie",70,"bold"))
    seconds = seconds+1
    time.sleep(1)
    if seconds ==60:
        seconds = 0
        minutes = minutes +1
    if minutes ==60:
        minutes = 0
        hours = hours + 1


SO PLEASE TRY IT AND SHARE WITH OTHERS


    

Comments

Post a Comment

Popular Posts