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.

PANDA 3D ENVIRONMENT 3D VIEW

 HELLO EVERYONE SO AFTER MANY DAYS RELASING MY NEW PYTHON FILE OF A MODULE CALLED PANDA 3D SO FOR THIS YOU HAVE TO INSTALL THE PANDA 3D BY OPENING CMD WHICH IS WINDOWS+R .SO YOU CAN MAKE A 3D VIEW USING PANDA 3D SO IN THE CMD TYPE PIP INSTALL PANDA 3D. THEN WRITE OR COPY THE SOURCE CODE AND PASTE IT AND RUN THE PROGRAM.

SOURCE CODE FOR PANDA 3D :-


from direct.showbase.ShowBase import ShowBase


class MyApp(ShowBase):

    def __init__(self):

        ShowBase.__init__(self)

        self.scene = self.loader.loadModel('models/environment')


        self.scene.reparentTo(self.render)


        self.scene.setScale(0.25, 0.25, 0.25)

        self.scene.setPos(-8, 42, 0)


app = MyApp()

app.run()

        

        THANK YOU EVERYONE AND TELL ME WHETHER YOU LIKED IT OR NOT PLEASE COMMENT BELOW.


Comments

Post a Comment

Popular Posts