March 20, 2021

InstaBot module Upload photo on instagram using python

 Instabot


In  this session  we learn how to upload picture using python library called instabot .

How to instabot on your pc .

step 1: 

go to the START, search  cmd then, press enter key

after that your command prompt is open as show in the given picture : -


step 2: 

you have to type pip install instbot and press ENTER  on the command prompt as shown in picture below : -



AFTER doing this all steps then your instabot is successfully installed on your pc . as shown in picture below : -



now go to the OPEN your IDLE and write the code below : -

Source Code


from instabot import Bot

bot=Bot()

bot.login(username= "yout username ",password="your password")

bot.upload_photo("C:/Users/ajay pandit/Desktop/UtubDownloader 18-03-2021 08_17_23.png" ,caption=" write caption here " )


No comments:

Post a Comment

find the cube of the range given digits. || codeAj

Find the cube of the range given Digits. Source Code r= int ( input ( "enter the range of digit : " )) def number_conter (n): ...