‼ POSSIBLE ISSUES WITH THE BOT ‼ 1. The old version of Pillow, on which the code is written, is not compatible with the new version of the interpreter (3.12). To make the bot work, install version 3.10 of the interpreter. Download Python version 3.10 from the official website python.org. It will install separately, so both versions will be installed on your system, and you can choose between them. When installing don't forget to check the 'Add Python to PATH' option.
Hey creator.. I have some queries about some problems which I am facing right now. I wish to contact you personally regarding those queries. Can you please provide me with some ways to get in touch with you. Anyways you did a great job buddy!! Just a dream come true. Thankyou ao much for the content you created.
@@onlinejobshub Hey. It will generate as many images as indicated in the CSV table. Maybe there are just 21 rows in the table? Make sure there are no extra columns in the table. If the problem persists, send the traceback in a separate message.
Hello I own a real estate listings website and I would like all new listings on my website to be automatically published to Pinterest via pins daily at a specific time. This means transferring for each ad an image, the title of the ad, the description and the link to my website. Could you confirm that it is possible to do this via the Pinterest API? If so, could you tell me if there is a daily limit and provide me with pricing information? Thanks
well done bro, i didn't the kind of videos work, interesting. I made a script that creates shorts, use whisper to get the subtitles, then generate the short with subs (pop-up, color and background-color animations) using moviepy, maybe i can do something with it
Hey man, thank you so much for the video! The bot works perfectly! Just one doubt, what can I do to create images with different text? Cause my images came always with the same text and only change the bg. I have the data spreadsheet just like the one in the video, but my texts are always the same on the created images.
@@pythonmoney Hey man! I tried the new one and for me, it's not working. The following errors appear: Traceback (most recent call last): File PycharmProjects\PinterestBot_2\image_generator.py", line 417, in open_data(project_folder) File PycharmProjects\PinterestBot_2\image_generator.py", line 139, in open_data delimiter = check_csv_delimiter(f"{READY}/{folder_name}/data.csv") File PycharmProjects\PinterestBot_2\image_generator.py", line 115, in check_csv_delimiter first_line = file.readline().strip() File AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 468: character maps to Am I doing something wrong? Thanks for your help!
Hey. Replace this line: reader = csv.reader(data, delimiter=delimiter if delimiter else ';') with this: reader = csv.reader(data, delimiter=';') or this: reader = csv.reader(data, delimiter=',') depending on the delimiter in your csv file.
Of course. Specify the link in the accounts.csv file in the pin uploader, and in the new version of the uploader (2.0), you can specify a link separately for each pin.
Man, the part where you create the Prompts for Chat GPT never works like in your example. And I do it exactly the same way. But I do it in other ways that end up being much more laborious. But then it's a problem with Chat GPS itself. Does anyone else have this issue? Thanks for the tutorial! Great job.
hi creator i am facing this issue....kindly help. File "C:\Users\KAAM 25 HA\PycharmProjects\PinterestBot\main.py", line 6, in from py3pin.Pinterest import Pinterest ModuleNotFoundError: No module named 'py3pin' Process finished with exit code 1
Hey. Are you running the pin uploader or the image generator from the 'main. py' file? Download the 'main. py' and 'image_generator. py' files from the Telegram group, place them in the project folder, and run the image generator from the 'image_generator. py' file. If you are running the pin loader from the 'main. py' file and encountering this error, go to the terminal and type the command: 'pip install py3-pinterest'.
Great video! It got me too: def create_image(row, folder_name): font_title = ImageFont.truetype(f'{READY}/{folder_name}/assets/fonts/title_font.ttf') font_post = ImageFont.truetype(f'{READY}/{folder_name}/assets/fonts/post_font.otf') And then, did not list the final code, just scrolled through a bunch of code that I'm not sure if I need. The second video did not seem to list the code I saw scrolled through.... Now I'm scratching my head? Any suggestions? Thanks again for this great info, hopefully I'll get to use it!
The code for this lesson is in the file image_generator . py. Run the image generator from this file. The main. py file contains the code for the pin uploader.
Loved the idea.Did everything but it doesnt work the code doesnt give any errors the folders are as shown and the images folder is still empty.Can you give us the whole file as an .EXE please
Seems you have a new version of the interpreter (3.12), and the old version of Pillow, on which the code is written, is not compatible with the new version of the interpreter. Follow these steps: 1. Download Python version 3.10 from the official website python.org. For me it works well with Python 3.10.2 on Windows. It will install separately, so both versions will be installed on your system, and you can choose between them. Visit the Downloads section on the website, download the executable (exe) file, run the installer, and don't forget to check the 'Add Python to PATH' option. 2. Next, create a new project in PyCharm, choose the interpreter version you downloaded and installed. Ensure that you have created and activated a virtual environment. When creating the project, choose Virtualenv, it should be created and activated by default. If needed, you can activate it in the terminal with the command: venv\Scripts\activate. 3. Download the archive from the provided Google Drive link in Telegram, extract it, and drop all files into the root of the project. 4. In the open PyCharm project, go to the terminal and enter the command: pip install -r requirements.txt. 5. After installing the dependencies, everything should work smoothly.
I did everything step by step and got this "Process finished with exit code 0" That means everything is Ok and code is working fine but I dont know why I cant see the pictures although I tried many ways but couldnt succedd
Привет! У меня не создается virtual environment.. при создании нового проекта пишет creating virtual environment, но в итоге папка venv не появляется в проекте.. не знаешь в сем может быть проблема? МАС
Ок создала с помощью pip install virtualenv и затем virtualenv venv.. папка 📁 venv появилась в проекте но мне кажется что я накосячила, так как в ней все что же что и в папке проекта PinterestBot (bin, lib, gitignore, Python, pyvenv.cfg)
@@pythonmoney Thanks for replying. I'm using the same but my response are way too shorter like as u created list of the pin ideas and it created a list but in my case it's creating a list with only 2 pin ideas per topic. So guide me how to fix that
привет все работает круто, я пока не использовал обновленный код, а только тот что в описании под видео, в общем из 50 изображений почему-то генерируются только 7-8, остальные файлы пустые и весят 0 байт) подскажи пожалуйста)
Привет. Используй версию 2.0, там нет этой проблемы. Эта проблема связана с превышением допустимой длины названия файла, в версии 2.0 используется другой подход, функций и гибкости больше.
@@pythonmoney thank you. but when i run the main file the following errors occurs: Traceback (most recent call last): File "C:\Users\***\PycharmProjects\PinterestBot\main. py", line 2, in from constants import * File "C:\Users\***\PycharmProjects\PinterestBot\constants. py", line 1, in from pathlib import path ImportError: cannot import name 'path' Process finished with exit code 1 also i was only able to install pillow 8.5.4
Hi i have some problems line 196, in open_data(project_folder) and this also line 25, in open_data with open(f" {READY}/{folder_name}/data.csv", "r", encoding="utf-8", newline="") as data: OSError: [Errno 22] Invalid argument: Can u help me?
@@pythonmoney i know and now it still days line 480, in accs = open_accounts() line 53, in open_accounts accounts_file = DATA / 'accounts.csv' NameError: name 'DATA' is not defined
Refactor if you're dragging files directly into PyCharm (the window appears after dragging). Alternatively, open File Explorer/Finder and just move the files using "copy/paste".
@@pythonmoneyplease below is the problem am facing after fishing everything 👇👇👇👇 please assist me C\Users\hp\PycharmProjects\pythonProject\PinterestBot\venv\Scripts\python.exe C:\Users\hp\PycharmProjects\pythonProject\PinterestBot\main . py Traceback (most recent call last): File "C:\Users\hp\PycharmProjects\pythonProject\PinterestBot\main . py", line 2, in from PIL import Image, ImageDraw, ImageFont ModuleNotFoundError: No module named 'PIL'
I tried this buut it didn't create an image file bro. I even looked at the video and write the codes one by one but it didn't work anyway. It says "Process finished with exit code 0" but ı don't see any image cretead. At which part am I making mistake ?
Hey! Do you mean the box at the bottom with the call to action? Then change its transparency in this line of code: plane_bottom.putalpha(140) Change 140 and set the required value. And if you mean the rectangles under the tips, then this is more difficult to do, but possible.
@@onlineinformation5320 I haven't implemented uploading video pins yet. Maybe I'll do it later, there are a lot of requests for this. As for changing the transparency of the rectangles, this can be done by replacing the сreating an ImageDraw object and drawing a rounded rectangle (img1.rounded_rectangle) with creating a new RGBA image (Image.new) of the desired color, and then rounding its corners through separate function and changing the transparency through putalpha and pasting it in the right place. Unfortunately, I don't have time to write the code right now, I'm busy producing the next video. Try it yourself for now or ask for ChatGPT. Feed him the code and ask him to make the necessary changes. Good luck!
@@onlineinformation5320 It can also be done by drawing a rounded rectangle in the new object and then applying putalpha and pasting through alpha_composite. Yes, it will be better and easier.
@@pythonmoney I did your first instruction, in the terminal it shows that the images were created, but when I click on the images folder, it only shows some created images, this is the same way you show it in the video, my doubt is, when you open the images folder, it only shows that one number of images or is there something wrong? I will test your second statement.
@@pythonmoney I understand now, I was using the material you provided to test and I didn't notice these details. Thanks for the help, I'm looking forward to the next videos.
@@pythonmoney please find one for videos too I work on instagram and I've edited lots of video now I want to upload it to pintrest cuz they're thousands off, please help me if at least I could have upload 50 everyday video that would be very helpful. thank you.
Hey can you please help me after running the code it shows this error "file"c:\Users\Dell\pycharmprojects\pycharmprojectpinbot\main.py",line 35,in open_data With open(f"{Ready}/{folder_name}\data.csv","r",encoding ="utf-8",newline="")as data : Permission error : [Errno 13] Permission denied:' C:\\Users\\Dell\\Pycharmprojects\\pythonprojectpinbot\ eady/keto//data.csv' process finished with exit code 1
Don't type the code manually. Copy the files from Telegram. You have an error in the path. It should be: with open(f"{READY}/{folder_name}/data.csv", "r", encoding="utf-8", newline="") as data:
Download the 'constants. py', 'main. py' and 'image_generator. py' files from the Telegram group, place them in the project folder, and run the image generator from the 'image_generator. py' file.
Very good content, thank you for sharing it with us. However, when I run the code it generates me only 3 images and then an error occur , this is the error text below: Traceback (most recent call last): File "C:\Users\****\PycharmProjects\PinterestBot\main.py", line 263, in open_data(project_folder) File "C:\Users\****\PycharmProjects\PinterestBot\main.py", line 45, in open_data create_image(row, folder_name) File "C:\Users\****\PycharmProjects\PinterestBot\main.py", line 99, in create_image if ':' in row[0]: IndexError: list index out of range
@@pythonmoney thank you for your answer but my delimeter is right. I’ve found that I had some caracters in my csv file that cause the problem. So once again thank you keep doing the good work
@@abderrahmensiahmed9544 Try to print the elements of the row list in the console and find the difference between successful generations. You can also ask ChatGPT for help. Feed him the code and traceback and ask him to fix the error.
@@pythonmoney Traceback (most recent call last): File "C:\Users\**\PycharmProjects\PinterestBot\main.py", line 106, in for i in row[1:]: TypeError: 'module' object is not subscriptable Process finished with exit code 1 This error i am facing
Did you type the code manually? The variable "row" should be an object (list), not a module. Redownload the project files "main.py" and "constants.py" from the link and run the code again. If the error persists, let me know. Also, take a look at PinterestBot 2.0 in Telegram. The generator there is much more flexible.
Very good video. I have a problem. I followed all the steps but when i start the bot after about 5 second it shows to me: Process finished with exit code -1073741819 (0xC0000005). I have windows 8.1😅 and Python interpreter 3.12
Install 3.10 version of the interpreter. The old version of Pillow, on which the code is written, is not compatible with the new version of the interpreter (3.12).
@@pythonmoneyHi, thanks for your help. Now the bot works very excellent. Can you create a bot for Google AdSense that clicks on the banner of my personal blog ? I wait for your answer and again thanks.
‼ POSSIBLE ISSUES WITH THE BOT ‼
1. The old version of Pillow, on which the code is written, is not compatible with the new version of the interpreter (3.12). To make the bot work, install version 3.10 of the interpreter.
Download Python version 3.10 from the official website python.org. It will install separately, so both versions will be installed on your system, and you can choose between them. When installing don't forget to check the 'Add Python to PATH' option.
Hey creator.. I have some queries about some problems which I am facing right now. I wish to contact you personally regarding those queries. Can you please provide me with some ways to get in touch with you. Anyways you did a great job buddy!! Just a dream come true. Thankyou ao much for the content you created.
@@thereallaughter1675 Thank you man. You can contact me in telegram
Hi , thank you very much , it work , but it create 21 image then pause not 100 image, help me , please
@@onlinejobshub Hey. It will generate as many images as indicated in the CSV table. Maybe there are just 21 rows in the table? Make sure there are no extra columns in the table. If the problem persists, send the traceback in a separate message.
bro which ai voice did you use for this video? really want to know@@pythonmoney
Dude!.... great content! amazing!... I always wanted to learn python... now i finally got an excuse!... 😅 ... thanks for everything!
This is amazing, I'm currently trying to set up automations and finding a few things that are hard unless you understand coding.
I'm coder and I can do coding based on your needs in $20 only
@@BullionStrategycould you code me a video maker
Explain more the features
Thanks for taking the time to share ! 🙏
Cool! waiting for your next video
Please upload the 2nd part buddy... Eagerly waiting!!
Excellent value video, can't wait for next video
This is a great channel
Very nice. Waiting for the next video!!!
great work bro loved it
hey man nice video and i like how you explain and break it down, nice job.
very well brother, that was very helpful
Hey man...! Your content is like a Rocket Sky. Take Love
This is super cool! Thank you so much!
can't keep thinking for every video like this one that if you actually made money with this kind of stuff you wouldn't be sharing it with everyone
Waiting patiently
Привет, какую ai используешь для генерации голоса в видео? Спасибо
Чувак, ты молоток! спасибо!
Which service do you use for searching affiliate marketing?
Thank You For The Valuable Content
Amazing bro 🫡💯🔥
Love from 🇮🇳
just amazing 🤗 thankyou
Great content. Loved it!!! Can you please make a video on how to create digital printables automatically
Watch the latest video on the channel about flashcards. You might like it.
wow super awesome idea
This works only on PC or Mobile phone also 🤔
very nice. but do you have bot to auto post to pinterest as well?
Yes. Watch the video about the pin uploader.
Hello
I own a real estate listings website and I would like all new listings on my website to be automatically published to Pinterest via pins daily at a specific time.
This means transferring for each ad an image, the title of the ad, the description and the link to my website.
Could you confirm that it is possible to do this via the Pinterest API?
If so, could you tell me if there is a daily limit and provide me with pricing information?
Thanks
great video
it worked
☺
well done bro, i didn't the kind of videos work, interesting. I made a script that creates shorts, use whisper to get the subtitles, then generate the short with subs (pop-up, color and background-color animations) using moviepy, maybe i can do something with it
Hey man, thank you so much for the video! The bot works perfectly!
Just one doubt, what can I do to create images with different text?
Cause my images came always with the same text and only change the bg.
I have the data spreadsheet just like the one in the video, but my texts are always the same on the created images.
Hey. Try the new version of the generator, I released it today. Check Telegram. If the error persists, let me know again.
@@pythonmoney Hey man! I tried the new one and for me, it's not working.
The following errors appear:
Traceback (most recent call last):
File PycharmProjects\PinterestBot_2\image_generator.py", line 417, in
open_data(project_folder)
File PycharmProjects\PinterestBot_2\image_generator.py", line 139, in open_data
delimiter = check_csv_delimiter(f"{READY}/{folder_name}/data.csv")
File PycharmProjects\PinterestBot_2\image_generator.py", line 115, in check_csv_delimiter
first_line = file.readline().strip()
File AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 468: character maps to
Am I doing something wrong?
Thanks for your help!
Hey. Replace this line:
reader = csv.reader(data, delimiter=delimiter if delimiter else ';')
with this:
reader = csv.reader(data, delimiter=';')
or this:
reader = csv.reader(data, delimiter=',')
depending on the delimiter in your csv file.
If it doesn't help, remove this code: encoding="utf-8", two lines above
Thank you
Thank you bro for this; but can we automate a link for a landing page with its url in those automated posts? thanks in advance
Of course. Specify the link in the accounts.csv file in the pin uploader, and in the new version of the uploader (2.0), you can specify a link separately for each pin.
Thank you am still a novice in this field so much appreciated@@pythonmoney
great hack man!
Awesome video❤ Is this script upload pins on Pinterest as well or we have to do this part manually?
Yes, it can upload (see the next video). And the new version will be able to upload even video pins.
Brother Please make one video like how to get winning creatives in facebook ads library
Can you make video to automate pins creation in Pinterest?
after running the code it shows image saved a couple of time then finished with exit code 0 .it is done ? if yes where are the images saved
Man, the part where you create the Prompts for Chat GPT never works like in your example. And I do it exactly the same way. But I do it in other ways that end up being much more laborious. But then it's a problem with Chat GPS itself. Does anyone else have this issue? Thanks for the tutorial! Great job.
If there is a lot of data, you might need to obtain it in multiple steps. This is normal.
Thanks!! @@pythonmoney
hi creator i am facing this issue....kindly help.
File "C:\Users\KAAM 25 HA\PycharmProjects\PinterestBot\main.py", line 6, in
from py3pin.Pinterest import Pinterest
ModuleNotFoundError: No module named 'py3pin'
Process finished with exit code 1
Hey. Are you running the pin uploader or the image generator from the 'main. py' file? Download the 'main. py' and 'image_generator. py' files from the Telegram group, place them in the project folder, and run the image generator from the 'image_generator. py' file. If you are running the pin loader from the 'main. py' file and encountering this error, go to the terminal and type the command: 'pip install py3-pinterest'.
I don't get the coding stuff so thank you for the code
Great video! It got me too:
def create_image(row, folder_name):
font_title = ImageFont.truetype(f'{READY}/{folder_name}/assets/fonts/title_font.ttf')
font_post = ImageFont.truetype(f'{READY}/{folder_name}/assets/fonts/post_font.otf')
And then, did not list the final code, just scrolled through a bunch of code that I'm not sure if I need. The second video did not seem to list the code I saw scrolled through....
Now I'm scratching my head?
Any suggestions?
Thanks again for this great info, hopefully I'll get to use it!
You can download the final code from the link provided in the description in the Telegram group.
The code for this lesson is in the file image_generator . py. Run the image generator from this file. The main. py file contains the code for the pin uploader.
Loved the idea.Did everything but it doesnt work the code doesnt give any errors the folders are as shown and the images folder is still empty.Can you give us the whole file as an .EXE please
Seems you have a new version of the interpreter (3.12), and the old version of Pillow, on which the code is written, is not compatible with the new version of the interpreter. Follow these steps:
1. Download Python version 3.10 from the official website python.org. For me it works well with Python 3.10.2 on Windows. It will install separately, so both versions will be installed on your system, and you can choose between them.
Visit the Downloads section on the website, download the executable (exe) file, run the installer, and don't forget to check the 'Add Python to PATH' option.
2. Next, create a new project in PyCharm, choose the interpreter version you downloaded and installed.
Ensure that you have created and activated a virtual environment. When creating the project, choose Virtualenv, it should be created and activated by default. If needed, you can activate it in the terminal with the command: venv\Scripts\activate.
3. Download the archive from the provided Google Drive link in Telegram, extract it, and drop all files into the root of the project.
4. In the open PyCharm project, go to the terminal and enter the command: pip install -r requirements.txt.
5. After installing the dependencies, everything should work smoothly.
Hi there this works with VS Code??
I want to drive traffic to a TH-cam Channel.
Hi. Yes
I tried uploading .mp4 instead of images. Does the code supposed to work on only images?
This feature will be available in the next version of the bot.
Brother am using python 3.10 only as interpreter but am getting error in pilmoji and other import will you please help
I did everything step by step and got this "Process finished with exit code 0" That means everything is Ok and code is working fine but I dont know why I cant see the pictures although I tried many ways but couldnt succedd
same ...
Excellent Can You Please Make a Video For Instagram and Facebook Reels?
Yes, I'm working on that too.
When will be uploaded the second part?
Soon, In the coming days
@@pythonmoney Ok, thank you, i'm waiting
Gold content broo
I’m watching like this 😳
can we increase traffic on blogging website using Python+chatgpt. please make video on this
Everything is ahead.
Привет! У меня не создается virtual environment.. при создании нового проекта пишет creating virtual environment, но в итоге папка venv не появляется в проекте.. не знаешь в сем может быть проблема? МАС
Ок создала с помощью pip install virtualenv и затем virtualenv venv.. папка 📁 venv появилась в проекте но мне кажется что я накосячила, так как в ней все что же что и в папке проекта PinterestBot (bin, lib, gitignore, Python, pyvenv.cfg)
Привет. Нужно активировать виртуальное окружение. Для этого выполни команду в терминале: source venv/bin/activate
Файлы проекта копируй не в папку с виртуальным окружением, а в папку проекта.
@@pythonmoney спасибо!
Just a question which version of Chat gpt you are using is 4 or 3.5?
3.5 in these videos
@@pythonmoney Thanks for replying. I'm using the same but my response are way too shorter like as u created list of the pin ideas and it created a list but in my case it's creating a list with only 2 pin ideas per topic. So guide me how to fix that
@@pythonmoney also I'm using the free trial on pycharm so will it charge money from me later?
@@InscirbeFlowCreations Experiment with the prompt. Get from him exactly what you need. Regarding PyCharm, just download the free Community version.
@@InscirbeFlowCreations Also, make specific follow-up requests. If it doesn't provide all the data at once, retrieve that data in multiple rounds.
1 on 1 tutorial please ?
привет все работает круто, я пока не использовал обновленный код, а только тот что в описании под видео, в общем из 50 изображений почему-то генерируются только 7-8, остальные файлы пустые и весят 0 байт) подскажи пожалуйста)
Привет. Используй версию 2.0, там нет этой проблемы. Эта проблема связана с превышением допустимой длины названия файла, в версии 2.0 используется другой подход, функций и гибкости больше.
do you have the ready code anywhere to copy? or must i type it in myself all?
The link is in the description. See the pinned post in telegram. The code for this lesson is in the image_generator . py file
@@pythonmoney thank you. but when i run the main file the following errors occurs: Traceback (most recent call last):
File "C:\Users\***\PycharmProjects\PinterestBot\main. py", line 2, in
from constants import *
File "C:\Users\***\PycharmProjects\PinterestBot\constants. py", line 1, in
from pathlib import path
ImportError: cannot import name 'path'
Process finished with exit code 1
also i was only able to install pillow 8.5.4
Change the import to: from pathlib import Path
@@pythonmoney in the constants file? i already have this there but it doesnt work
Yes, in this file. Write the class 'Path' with a capital letter.
Hi i have some problems
line 196, in
open_data(project_folder)
and this also
line 25, in open_data
with open(f" {READY}/{folder_name}/data.csv", "r", encoding="utf-8", newline="") as data:
OSError: [Errno 22] Invalid argument:
Can u help me?
Do not type the code manually. Download the files from Telegram. Use version 2.0.
@@pythonmoney i know and now it still days line 480, in
accs = open_accounts()
line 53, in open_accounts
accounts_file = DATA / 'accounts.csv'
NameError: name 'DATA' is not defined
You didn't import the DATA constant from the constants.py file.@@yazidamrani711
How can we add shadow behind the drawn rectangles?
You can add a shadow effect behind a drawn rectangle by drawing a slightly offset rectangle with a different color.
Ty
I tried to create bot2 when I drag the new files to add to the bot, it doesn't add, how to solve it? I noticed that the cred_root folder is empty.
Refactor if you're dragging files directly into PyCharm (the window appears after dragging). Alternatively, open File Explorer/Finder and just move the files using "copy/paste".
thanks you got mr subscribe, is it workable right now?
Now ths script runs! I resolve it tru gpt! but the problem now it does not print out
genius
thanks but how to bulk post pins to Pinterest?
6 lesson of the Pinterest Money course.
code is it work?
Great Work bro.
When is the second part coming?
Thank you! In the coming days. The bot is ready ;)
Please pycharm is telling me to purchase license how can I overcome it?
Just download the free Community Edition.
@@pythonmoneyplease below is the problem am facing after fishing everything 👇👇👇👇 please assist me
C\Users\hp\PycharmProjects\pythonProject\PinterestBot\venv\Scripts\python.exe C:\Users\hp\PycharmProjects\pythonProject\PinterestBot\main . py
Traceback (most recent call last):
File "C:\Users\hp\PycharmProjects\pythonProject\PinterestBot\main . py", line 2, in
from PIL import Image, ImageDraw, ImageFont
ModuleNotFoundError: No module named 'PIL'
Go to the terminal and enter the command: pip install Pillow==9.5.0
can this project also be used in VS code?
Yes
can we do it for bulk videos for pins instead of images ??
Not yet. Maybe I'll write a video pinner in the future.
Ebat' ti krasavchik! :D
I tried this buut it didn't create an image file bro. I even looked at the video and write the codes one by one but it didn't work anyway. It says "Process finished with exit code 0" but ı don't see any image cretead. At which part am I making mistake ?
Have you checked the images folder where images should be saved?
Uncomment the code line im.show(), run it again, and check once more. The images are displayed but not being saved?
@@pythonmoney no not displayed and not saved.
@@knucklewords5665 Try to redownload the project files from the link in the description and try again. Also, read the pinned comment.
im getting error in code
Good
Hey bro, can you say me how to reduce transparency of rectangle in the images
Hey! Do you mean the box at the bottom with the call to action? Then change its transparency in this line of code: plane_bottom.putalpha(140) Change 140 and set the required value. And if you mean the rectangles under the tips, then this is more difficult to do, but possible.
@@pythonmoney no not that , the tips rectangular box
@@pythonmoney and one more thing can we do this for video pins
@@onlineinformation5320 I haven't implemented uploading video pins yet. Maybe I'll do it later, there are a lot of requests for this.
As for changing the transparency of the rectangles, this can be done by replacing the сreating an ImageDraw object and drawing a rounded rectangle (img1.rounded_rectangle) with creating a new RGBA image (Image.new) of the desired color, and then rounding its corners through separate function and changing the transparency through putalpha and pasting it in the right place. Unfortunately, I don't have time to write the code right now, I'm busy producing the next video. Try it yourself for now or ask for ChatGPT. Feed him the code and ask him to make the necessary changes. Good luck!
@@onlineinformation5320 It can also be done by drawing a rounded rectangle in the new object and then applying putalpha and pasting through alpha_composite. Yes, it will be better and easier.
Canva knows bulk image genaration too. but only the paid version. The result is same.
How can I modify the "in show" function so that the program runs in the background?
Comment or delete this code: im.show()
Or add a check:
if show:
im.show()
And at the top add the variable show=True . And disable by changing the value to False
@@pythonmoney I did your first instruction, in the terminal it shows that the images were created, but when I click on the images folder, it only shows some created images, this is the same way you show it in the video, my doubt is, when you open the images folder, it only shows that one number of images or is there something wrong? I will test your second statement.
It will generate and save as many images as indicated in the CSV table (as many as data rows).
@@pythonmoney I understand now, I was using the material you provided to test and I didn't notice these details. Thanks for the help, I'm looking forward to the next videos.
Great video but the code didn't worked and showed error in line no. 45
Look at the traceback and try to fix the error. You can send me the traceback, and I'll help.
Did this work
How about Snapchat plz
can we do same for videos?
I haven't tried yet. I only uploaded images.
@@pythonmoney please find one for videos too I work on instagram and I've edited lots of video now I want to upload it to pintrest cuz they're thousands off, please help me if at least I could have upload 50 everyday video that would be very helpful. thank you.
how to make voice like on this video?
Hey can you please help me after running the code it shows this error "file"c:\Users\Dell\pycharmprojects\pycharmprojectpinbot\main.py",line 35,in open_data
With open(f"{Ready}/{folder_name}\data.csv","r",encoding ="utf-8",newline="")as data :
Permission error : [Errno 13] Permission denied:' C:\\Users\\Dell\\Pycharmprojects\\pythonprojectpinbot\
eady/keto//data.csv' process finished with exit code 1
Don't type the code manually. Copy the files from Telegram. You have an error in the path. It should be:
with open(f"{READY}/{folder_name}/data.csv", "r", encoding="utf-8", newline="") as data:
Great Vid. But i am facing an error
NameError: name 'READY' is not defined
Thank you. The constant "READY" is not declared in the file constants. py or not imported from there.
Is this ur voice ?
Lol no
wowww
2:27
how to bulk upload videos and Pictures to pintrest?
I wrote a bot for the next video. But only for uploading images.
Next video?
@@asiddiqi123 NinjaPinner
@@pythonmoney when is the next video ???
@@ArabicCash already on the channel: th-cam.com/video/0X47NX4z_ak/w-d-xo.html
👍
bro you havent provided the code
Hi, the code in telegram. I provided the link in description
some images dont genarate and show as 0kb file. how i can fix it?
Some images or all images? Give me the traceback if any error occurs.
Did you install the Pillow library of the required version that I mentioned in the video?
@@pythonmoney some images, there was no error "Process finished with exit code 0" but my titles was too long, maybe its the problem?
@@pythonmoney yes i did instal it.
If you are still looking for the cause of the problem, the issue could indeed be with too long titles.
Brother it didn't work I tried everything but it didn't work
What exactly is not working for you? If there is any error, please send the traceback.
Download the 'constants. py', 'main. py' and 'image_generator. py' files from the Telegram group, place them in the project folder, and run the image generator from the 'image_generator. py' file.
@@pythonmoney thanks brother
Upload se omd video bro
Ok, production is almost finished.
Very good content, thank you for sharing it with us. However, when I run the code it generates me only 3 images and then an error occur , this is the error text below:
Traceback (most recent call last):
File "C:\Users\****\PycharmProjects\PinterestBot\main.py", line 263, in
open_data(project_folder)
File "C:\Users\****\PycharmProjects\PinterestBot\main.py", line 45, in open_data
create_image(row, folder_name)
File "C:\Users\****\PycharmProjects\PinterestBot\main.py", line 99, in create_image
if ':' in row[0]:
IndexError: list index out of range
Thank you! This error occurs due to an incorrect delimiter. Change the delimiter (set ';') on this line: reader = csv.reader(data, delimiter=',').
@@pythonmoney thank you for your answer but my delimeter is right. I’ve found that I had some caracters in my csv file that cause the problem. So once again thank you keep doing the good work
@@abderrahmensiahmed9544 Try to print the elements of the row list in the console and find the difference between successful generations. You can also ask ChatGPT for help. Feed him the code and traceback and ask him to fix the error.
I tried but code show lot of errors 🤯🤯
Show the errors, and I'll help you.
@@pythonmoney where to contact you
@@Vivek-to3ne
To start, send the traceback here; it will help others who encounter the same error.
@@pythonmoney Traceback (most recent call last):
File "C:\Users\**\PycharmProjects\PinterestBot\main.py", line 106, in
for i in row[1:]:
TypeError: 'module' object is not subscriptable
Process finished with exit code 1 This error i am facing
Did you type the code manually? The variable "row" should be an object (list), not a module. Redownload the project files "main.py" and "constants.py" from the link and run the code again. If the error persists, let me know. Also, take a look at PinterestBot 2.0 in Telegram. The generator there is much more flexible.
Бро, очень хочу понять что ты объясняешь , прости конечно но у тебя есть версия на русском языке?😅
Включи нейроперевод в Яндекс браузере)
This method not works coz pinterest will suspend your account !!!!!
If you work carefully, it won't suspend.
After gaving tried this, I can say this is USELESS
Bruuhhhhhhhhhhhhh
FOR REAL?? TOO FAST EXPLAINING, TOO CONFUSING, WAY TO COMPLICATED.
Slow down the playback speed. It's not as difficult as it may seem at first. If you want to understand it, you will.
Very good video. I have a problem. I followed all the steps but when i start the bot after about 5 second it shows to me: Process finished with exit code -1073741819 (0xC0000005). I have windows 8.1😅 and Python interpreter 3.12
Install 3.10 version of the interpreter. The old version of Pillow, on which the code is written, is not compatible with the new version of the interpreter (3.12).
@@pythonmoneyHi, thanks for your help. Now the bot works very excellent. Can you create a bot for Google AdSense that clicks on the banner of my personal blog ? I wait for your answer and again thanks.
are you available at social media or any e mail to contact you