Тёмный

Don't Buy Audiobooks! 😎 Build Your Own With Just 12 Lines Of Python 

Programming Hero
Подписаться 314 тыс.
Просмотров 794 тыс.
50% 1

Опубликовано:

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3 тыс.   
@youtubeessentials6434
@youtubeessentials6434 3 года назад
few weeks later: "Don't watch my videos, make your own!
@jayajeetm
@jayajeetm 3 года назад
Lol
@iam3bhu177
@iam3bhu177 3 года назад
haha
@sabbirhasananik4313
@sabbirhasananik4313 3 года назад
😂
@oyyeabhay
@oyyeabhay 3 года назад
🤣 🤣 🤣 🤣 🤣
@ramdafale
@ramdafale 3 года назад
Op bhai
@gamert2525
@gamert2525 4 года назад
Here comes the programming hero Continue automation projects Thanks!
@ProgrammingHero
@ProgrammingHero 4 года назад
More to come. Stay tuned.
@Darshannn2002
@Darshannn2002 4 года назад
10:43 I just got happy to much I don't why but got very happy ❤️❤️❤️❤️❤️
@ProgrammingHero
@ProgrammingHero 4 года назад
Glad that you are happy
@johnd2895
@johnd2895 3 года назад
Repeatedly segfaults ("segmentation fault (core dumped)". Checking the size of the extracted text, it was always 7 or 8 (even if the same file is used). One test file turned out to be nothing but scanned pages (would need OCR) but there is no error checking (I'm looking into adding that). I carefully selected another PDF (not scanned pages, has selectable text etc.) but at first I got the same results. Added a "print(text)" line after extracting, and it contains nothing unless the pages are *CAREFULLY* selected to begin after things like covers, tables of contents, etc. - any pages of those types result in a seg fault too. Besides error checking, it would help to have a few simple key commands like + - up down left right (arrows) for things like volume (+/-), up/down to change speaker (perhaps cycle through the +m1...+f5 options on the available voices), and left/right arrows (to back up or jump forward by, say, a paragraph or a page), and 'q' to quit more gracefully. It's a pleasant enough "how-to" video (though a caveat about the PDFs being used really should be added!) That robot intonation though, is going to be very tough to overcome and I was unable to find any non-robotic voices on the web (the library has several dozen voices for different languages but most cannot speak Enlish, for example). Any thought that this would somehow replace Audiobooks (or regular books, or even text files) is wishful thinking. Despite my comments, I hope you'll continue to provide quick examples like this for Python newbies or (with a clear warning) for "quick and dirty use only".
@johnd2895
@johnd2895 3 года назад
Found the segfault cause - if a page is scanned only (no actual text), than pyttsx3 segfaults when that "text" of zero-size is encountered. Sounds like something they should check in the library, but for now I've done it by just checking "len(text)" and skipping the handoff to pyttsx3 if it's less than 10 bytes or so (could just check for 0 but there may be conditions where the 0-size "text" shows up as an attribute value of some kind). With this, the code works better. Added some voice options (+m and +f) and an option to print the text to screen as well as saying it (seems to help for very technical text where pyttsx3 gets bogged down in trying to spell things out, etc.) Still not a replacement for audiobooks, but passable now for probably 2/3rds of the test PDFs I've thrown at it.
@XPHYtv
@XPHYtv 4 года назад
This video is sponsored by Audible.
@ProgrammingHero
@ProgrammingHero 4 года назад
lol
@vesrus59
@vesrus59 4 года назад
THAT was funny )))
@ostelaymetaule
@ostelaymetaule 4 года назад
It would be a great sponsor because the tts even paid one from google or amazon are terrible for audiobooks, they sound terrible, even the deeplearning ones and are more expensive word for word then audible. It just makes no sense (as of 2020). Will check on the idea in couple years, there are good chances it will change.
@wondon5997
@wondon5997 3 года назад
🤣🤣🤣🤣🤣
@coolsav0074
@coolsav0074 3 года назад
Audible reported this video as a threat to thier sales
@rinkujain1245
@rinkujain1245 3 года назад
Next up: Don't use Python. Build your own programming language
@ancapftw9113
@ancapftw9113 3 года назад
Build your own, using 100 lines of python.
@ahsanbulbul8512
@ahsanbulbul8512 3 года назад
Don't watch any RU-vid tutorials. Make your own 🥴
@subratahalder9538
@subratahalder9538 3 года назад
Next up: Don't use programming language. Build your own machine code
@ancapftw9113
@ancapftw9113 3 года назад
@@subratahalder9538 *writes program 1 byte at a time using a series of switches*
@arshan207
@arshan207 3 года назад
@@ancapftw9113 he has finally done it
@anastasiashpyt
@anastasiashpyt 3 года назад
now I don't have a single reason not to learn python
@joeballer4036
@joeballer4036 3 года назад
I’ll give you a reason. Video games 😂😂😂 lol jk - learn python 🐍
@anastasiashpyt
@anastasiashpyt 3 года назад
@@joeballer4036 I am not playing games. 😅
@dhruvprajapati2627
@dhruvprajapati2627 3 года назад
Sir,how to play hindi or other language voice? 🙄🙄
@raghurami253
@raghurami253 3 года назад
😂😂😂😂😂😅
@hatim5466
@hatim5466 3 года назад
Yooo
@thecastiel69
@thecastiel69 3 года назад
BOT voice without feeling
@ProgrammingHero
@ProgrammingHero 3 года назад
CHEK HERE, github.com/ashraf-minhaj/Audio-Book/
@b07x
@b07x 3 года назад
You can't fall in love with it
@anto1756
@anto1756 3 года назад
@@ProgrammingHero whats this?
@RobWence
@RobWence 3 года назад
@@anto1756 He gave it a female voice on the github version
@aganzholic
@aganzholic 3 года назад
@@ProgrammingHero why female voice is spanish?
@TOP10STAR
@TOP10STAR 3 года назад
Dont code. Just copy text n paste on google translate.
@lllWiseManlll
@lllWiseManlll 3 года назад
wtf 🤣 never thought of it , that's kinda smart 🤣
@sachinsureshvaidya228
@sachinsureshvaidya228 3 года назад
But isn't google translate has certain texts limitation?
@paragggoyal1552
@paragggoyal1552 3 года назад
Ya right copy 111 pages of text also take care that images dont get copied right?
@TOP10STAR
@TOP10STAR 3 года назад
@@paragggoyal1552 who told u to copy entire at once r u going to listen it in one go
@ProgrammingHero
@ProgrammingHero 3 года назад
Hi there! Join our discord channel and ask your questions there. Our cool programmers and peer learners will help you out!
@derisis13
@derisis13 3 года назад
'If you're poor like me...' Also him: *has an Apple computer
@SCTproductionsJ5
@SCTproductionsJ5 3 года назад
...that's... why he's poor.
@jarisipilainen3875
@jarisipilainen3875 3 года назад
well you poor after buying one
@vanhetgoor
@vanhetgoor 3 года назад
Many people who own a Mac don't spend much money on computers, this Mac is from 2009, and so is the computer in my bedroom, in the living room and in the Mac in mail-room is even from 1999. Still working so why would I replace it? Most of my computers have costed me only a few hundred a year if the new price is spread over a decade or so. Mac owners do not alway have truckloads of money, all computers in my house have to share only one laser printer. I even had to save money on wires! Nowhere in my house you will find that fancy new stuff like the one that looks like a garbage bin, not even to think about the newest newest.
@jarisipilainen3875
@jarisipilainen3875 3 года назад
@@vanhetgoor yes overpriced computer.could use linux if want ls command xD.windows and linux can run mac on emulator even now they run faster than original.thats funny xD
@janjelinek4283
@janjelinek4283 3 года назад
@@jarisipilainen3875 Wait do linux really run windows/mac emulator faster than directly windows? Btw which linux distribution would you recommend?
@eyekosaeder5387
@eyekosaeder5387 3 года назад
Me: *loves reading* Also me: *watches this anyway*
@ProgrammingHero
@ProgrammingHero 3 года назад
Thank you! ❤
@victorianjeri1000
@victorianjeri1000 3 года назад
I want to read and listen at the same time for better compression
@parkze9348
@parkze9348 3 года назад
Smae here bro
@bogballproductions6342
@bogballproductions6342 3 года назад
Few years from now: "Don't live on Earth, make one with 420 lines of code!"
@ProgrammingHero
@ProgrammingHero 3 года назад
hahaha! Nice idea!
@whart667
@whart667 3 года назад
@@ProgrammingHero You are not gonna do it right...right guys?
@studyop6363
@studyop6363 3 года назад
@@whart667 confused in tenet.....
@aliabdelrhim
@aliabdelrhim 4 года назад
After you wrote the loop, you forgot to change the number 7 to the variable ”num.” If you run the code with this mistake, it will read page number 7, 103 times 😂
@beastnighttv
@beastnighttv 4 года назад
Please can tou fix it for me😁😁😁😁
@superhesk
@superhesk 4 года назад
@@beastnighttv Just write num instead of 7
@beastnighttv
@beastnighttv 4 года назад
@@superhesk ok
@gabrielrmattoso
@gabrielrmattoso 4 года назад
@@beastnighttv page = pdfReader.getPage(num)
@beastnighttv
@beastnighttv 4 года назад
@@gabrielrmattoso done
@codingtraining0102
@codingtraining0102 4 года назад
The PyReader: Look mama I can talk He: I know you can talk but now sh:t up This made me laugh so hard
@ProgrammingHero
@ProgrammingHero 4 года назад
me too.
@anasjohn1
@anasjohn1 3 года назад
He is next level man. Elon Musk searching you 😂😂Next Video: DON'T GET MARRIED, BUILD YOUR OWN HUSBAND/WIFE WITH JUST 15 LINES OF CODE IN PYTHON! 😜😅
@subhankarpal_cs2a_697
@subhankarpal_cs2a_697 4 года назад
I cracked when he said, "if you're very poor, u can google and download a pdf..." 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
@ProgrammingHero
@ProgrammingHero 4 года назад
xD
@onceuponfewtime
@onceuponfewtime 3 года назад
or cheap. no way I buy anything over Internet again xd too much effort to sort out between scammers and true sellers
@qn565
@qn565 3 года назад
we Russians always do so, because most of us are very poor. that's kind of sad =(
@oraoffice9562
@oraoffice9562 3 года назад
@@qn565 it's ok, many people around the world are poor. To laugh at someone's poverty is the biggest poverty. Don't be sad. Better days will come. Let's keep downloading pdfs till then :) I'm not poor but I've seen some hard days. I wish nobody is poor in this world, ever. The one who wants nothing is the richest and the one isn't content is the poorest. btw I'm Indian. Richness is what we need, not riches.
@MaoDev
@MaoDev 3 года назад
If you're going to pirate the pdf then you might as well just pirate the audiobook. No robot talking and the quality's better.
@sheeesh01
@sheeesh01 3 года назад
Or you can install Microsoft edge open pdf and click read out loud....
@kostaskarachalios7375
@kostaskarachalios7375 3 года назад
Definitely. Though with this approach, one can extend it to read other sources of text. In general, coding it gives you greater control (e.g. playback speed or storing the speech into a file and uploading it to my phone).
@tushardey7179
@tushardey7179 3 года назад
"Just go to a library" ~boomer, 2020
@michellewest6929
@michellewest6929 3 года назад
0:00 ~boomer 2020
@venkats5870
@venkats5870 4 года назад
After watching one min of this video I clicked like because your grandma appears on screen with Gun 😂
@ProgrammingHero
@ProgrammingHero 4 года назад
Hahahaha!! very funny , thanks for watching.
@sheikhshagor6040
@sheikhshagor6040 4 года назад
@@ProgrammingHero ai abal dekhle amr hasi pai
@sayokbhattacharya
@sayokbhattacharya 4 года назад
@@sheikhshagor6040 keno?
@sayokbhattacharya
@sayokbhattacharya 4 года назад
@@sheikhshagor6040 haan bodo abal, bhablam kichu voice set diye sentiment modulation korbe, eto Stephen Hawkings kore diyechhe.
@samiullah9154
@samiullah9154 4 года назад
@@ProgrammingHero How can I saved that audio so I don't need to run the script again and again?
@gamestroyer891
@gamestroyer891 3 года назад
Everybody gangsta until the bot doesn't stop speaking after pausing
@TheTimeProphet
@TheTimeProphet 3 года назад
But audio books have proper trained voice artists who have beautiful voices. Electronic reading sounds awful. PS don't come for my cookies, I haven't got any
@geeli_puppy_.
@geeli_puppy_. 3 года назад
you can use this It is much better than the voice of pyttsx3 def speak(str): from gtts import gTTS from playsound import playsound language = 'en-In' myobj = gTTS(text=str, lang=language) myobj.save("welcome1.mp3") playsound("welcome1.mp3")
@sumitthakur1625
@sumitthakur1625 3 года назад
@@geeli_puppy_. what's that can u plz elaborate,!?
@andrewdegozaru74
@andrewdegozaru74 3 года назад
@@sumitthakur1625 it's code that uses a different TTS library. Just search the interweb and you'll get the answer in no time...
@ProgrammingHero
@ProgrammingHero 3 года назад
CHEK HERE, github.com/ashraf-minhaj/Audio-Book/
@ProgrammingHero
@ProgrammingHero 3 года назад
CHEK HERE, github.com/ashraf-minhaj/Audio-Book/
@TarunSharma-fq8rc
@TarunSharma-fq8rc 4 года назад
We can directly use Microsoft Edge browser it also provide play text in audio.
@ProgrammingHero
@ProgrammingHero 4 года назад
and now you know how to made your own.
@Digger-Nick
@Digger-Nick 4 года назад
@Hrishikesh Malviy Opening a pdf in browser is no different than opening it in adobe acrobat. . .
@Digger-Nick
@Digger-Nick 4 года назад
@Hrishikesh Malviy You still have to open a program to view the pdf... Doesn't matter if it's a browser or not.
@drkaymd
@drkaymd 3 года назад
Hahaha...wow....I don't know if I need a audiobook but I definitely found this so useful and I know nothing about coding and now I know something about coding that I can use if I want . Great stuff 👍 And I subscribed coz your grandma is cool 😎
@ProgrammingHero
@ProgrammingHero 3 года назад
You're so welcome! ❤
@rohanmalik2910
@rohanmalik2910 3 года назад
Just for a say: If you want to enjoy programming, then use Linux. You don't have drop a sweat installing such python, etc etc files, everything is just backed Into the system..
@programaths
@programaths 3 года назад
I wouldn't do that for fiction books though; Even within audio book, one has to be careful to know who is reading it: some readers are very good at adding another dimension by injecting proper emotions.
@Tala218
@Tala218 3 года назад
So true
@anujrathore2517
@anujrathore2517 3 года назад
This is just fun Tutorial, text to speech programs are already available (maybe even in chrome)
@programaths
@programaths 3 года назад
@@anujrathore2517 And they do as much of a bad job because they don't offer that "extra dimension".
@Makumazaan
@Makumazaan 3 года назад
that's why neural networks are so important. with proper usage of nlp, test data for emotions and a voice sample you can code\train your own 'reader'
@rakshithks8817
@rakshithks8817 4 года назад
12:15 after writing for loop you just forgot to change 7 to num in line number 9 . 😊😊
@ProgrammingHero
@ProgrammingHero 4 года назад
Left a bug so that you have to hire me as a consultant to fix this bug :D
@devgupta2087
@devgupta2087 4 года назад
@@ProgrammingHero 😂😂
@kartikjoshi428
@kartikjoshi428 4 года назад
@Shamima Yeasmin because we Indians don't like to pay.. 😂😂
@beastnighttv
@beastnighttv 4 года назад
@@ProgrammingHero sor please fix it
@boriskruschev7042
@boriskruschev7042 3 года назад
@@beastnighttv dude just Wright getPage(num) instead of getPage(7)
@NekooSoft
@NekooSoft Год назад
I got the Error no such file or directory 'opp.pdf' ... im coding in vsc what should I do?
@theoagastya1185
@theoagastya1185 Месяц назад
Brother, that's the name he used to save his pdf. You have to use the name that your pdf is saved as.
@paraglide01
@paraglide01 4 года назад
I like that you make practical projects mixed with some humour instead of dry theories about python programming. Thanks very much.
@ProgrammingHero
@ProgrammingHero 4 года назад
Glad you like them!
@9jatechie
@9jatechie 4 года назад
Your grandma says this will read page 8 over and over again.
@nkhalid
@nkhalid 4 года назад
change the number 7 to num after the "for loop" line: for num in range(7, pages): page = pdfREader.getPage(num)
@steps8595
@steps8595 4 года назад
@@nkhalid thankyou bhayajiiii
@donsX
@donsX 3 года назад
This is so useful. I will definitely use this a lot. I’m still new to this and have been using the spyder IDE but now can see the benefit of using pycharm! Thanks for this tutorial 👍🏻
@ProgrammingHero
@ProgrammingHero 3 года назад
You're very welcome!
@bikrampurkait3786
@bikrampurkait3786 2 года назад
But pycharm is not available for 32bit system 😔
@mrmastaofdesasta6994
@mrmastaofdesasta6994 3 года назад
Thanks for teaching me how to make computers say "Mother I crave violence" on infinite loop
@shado5491
@shado5491 3 года назад
Whatever you do, don't make an AI say that!
@bjharvey3021
@bjharvey3021 3 года назад
Possibly the darkest way to toture a computer. Are we not ALL computers?
@bjharvey3021
@bjharvey3021 3 года назад
wait.. did i just type that?
@Unbiased_Bayasan
@Unbiased_Bayasan 3 года назад
Developer : Doing everyday job 3 Lakh Viewers : Interesting
@shortnews4504
@shortnews4504 Год назад
Please guide how can we embed (fix) audio file in pdf with code or without code
@rutvikrana512
@rutvikrana512 4 года назад
Wow .... but I think my reading speed is faster than this bot 😜😂
@ProgrammingHero
@ProgrammingHero 4 года назад
you can increase the speed
@DSCuber-28-01-2019
@DSCuber-28-01-2019 4 года назад
@@ProgrammingHero how?
@alexjr977
@alexjr977 4 года назад
@@ProgrammingHero how i change voice its to a female?
@athi-enkosifongoqa6459
@athi-enkosifongoqa6459 4 года назад
@@ProgrammingHero how??
@jeffinalexgeorge8494
@jeffinalexgeorge8494 4 года назад
Great, short, and precise!! Love it when I'm able to achieve something in one video. Gives me the motivation to learn more. Good job!!
@ProgrammingHero
@ProgrammingHero 4 года назад
Glad it was helpful!, keep watching us and download our app, Programming Hero.
@edgetechgamer4743
@edgetechgamer4743 2 года назад
@@ProgrammingHero is this a company?
@learn3045
@learn3045 2 года назад
I just have got an ebook of nanotech and it is a whopping 319 pages. But now, the book is going to read itself. I feel very motivated by these tutorials. Thanks a lot and I hope you will be the best coder with the best coding channel of all time.
@azamemkay
@azamemkay 3 года назад
I Love How I Got Amazon Audible Ad While Watching This Lmao
@thisisfaiaz
@thisisfaiaz 3 года назад
Amazing! You make these projects really easy to understand.
@ProgrammingHero
@ProgrammingHero 3 года назад
Glad you think so! 😊
@ashrulochansahoo5154
@ashrulochansahoo5154 3 года назад
The way he said "if you are very poor just go to google" that motivated me to be a poor 😂
@Prodigalzson
@Prodigalzson 4 года назад
I know you can talk... now shut up!! LOL!
@ProgrammingHero
@ProgrammingHero 4 года назад
hahaa
@richNfit4life
@richNfit4life 3 года назад
Well, good thing I don’t have cookies in my house.
@usama1234987
@usama1234987 3 года назад
Same xD
@juniorMr
@juniorMr 2 года назад
Man great . Your chanel is tremendous ,I am just following ya from Mozambique
@taknevydder
@taknevydder 3 года назад
Your beard bothers me it's not aligned to the center of your lower lip.
@venkatadri1299
@venkatadri1299 3 года назад
now, it's bothering me after reading your comments 🤦‍♂️
@taknevydder
@taknevydder 3 года назад
@@venkatadri1299 🤣
@samsal8638
@samsal8638 4 года назад
It seems that your grandma will do more than eat all cookies - is she going to target practice with the cookie jars? In any case I felt an urge to like this video.
@karancharlee
@karancharlee 3 года назад
3 Steps to any get audiobook : 1. Download Telegram from playstore. 2. Search for audiobook channels 3. Listen to all you want, from legit readers.
@shiva16
@shiva16 4 года назад
was there a bookmark called "Mafia" at 1:22 ??!!
@sunil5656
@sunil5656 4 года назад
Ya
@ProgrammingHero
@ProgrammingHero 4 года назад
yes, we are mafia xD.
@ZackAngelSmith
@ZackAngelSmith 4 года назад
I wasn't searching for this, but... I like you I like you man, keep up the good vibes!
@ProgrammingHero
@ProgrammingHero 4 года назад
Thanks, you too!
@kunnduruishhuu
@kunnduruishhuu 10 месяцев назад
Sir please please help sir 😢😢😢😢...i entered pdf but it coming like ❓ question mark when i entered pdf in that audiobook
@mwntsimanyanaii2847
@mwntsimanyanaii2847 3 года назад
Your grandmother will come to my house and ready all my cookies? Who is she, Santa? ;)
@nicholaswinters5784
@nicholaswinters5784 3 года назад
That's pretty cool, you make it look so easy! This is pretty fun for a layman to try out. Little effort and high reward
@ProgrammingHero
@ProgrammingHero 3 года назад
Glad you like it!
@dreamer576
@dreamer576 11 месяцев назад
TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported. this error shows for me!!!what can i do
@kunalrawat4448
@kunalrawat4448 4 года назад
Your app was awesome When was app development course was available in programming hero?????
@ProgrammingHero
@ProgrammingHero 4 года назад
It is already in the app more update of that course will come
@Jreft
@Jreft 3 года назад
How to turn any book into an audiobook in 2 steps 1) Copy all the text from the pdf 2) Paste in Google Text-to-speech and listen away :)
@龙金-g4z
@龙金-g4z 3 года назад
If you don't have wifi, you can't do this Checkmate
@alfezkhan591
@alfezkhan591 3 года назад
1. You will have to do it for every single page. You have to just write file name in this code. 2. It works offline 3.(most important) It will be more satisfying to listen to something what you coded yourself.
@龙金-g4z
@龙金-g4z 3 года назад
@@alfezkhan591 2nd is allright, but firt one, Google can already translate documents, so o,O
@subhajitmitra6770
@subhajitmitra6770 3 года назад
Hi Hero, You made a little code error. If you want the code to loop all the pages Line 9 should be : "page = pdfReader.getPage(num)" Anyway, LOVED YOUR WORK..
@rajendrafanase7330
@rajendrafanase7330 2 года назад
Thanks to you for your accurate suggestion and thanks to the Programming hero also!!!!!
@richardsinclair7661
@richardsinclair7661 4 года назад
This is such a cool idea! Thanks for sharing. Sometimes it's hard to find the motivation or drive to want to code, but seeing wacky ideas like this makes me want to.
@haneefsolangi9292
@haneefsolangi9292 3 года назад
@ line 9 12:08: page = pdfReader.getPage(num) #not 7 it will read page 7 with the current code (111-7) tinmes
@mortal7136
@mortal7136 3 года назад
Num is not defined?
@Aryakgaming1
@Aryakgaming1 2 года назад
Don't code just give a little attention to the microsoft edge which is already on your pc. It can read your pdf and you can even change languages.
@oscarj.sanchez9733
@oscarj.sanchez9733 3 года назад
Wow, perfect for me, one question, Any idea how control the speed?
@maxhoden0303
@maxhoden0303 3 года назад
Yes! Use import time at the top of your code, then After it says speaker run and wait on line 13 indented write time.sleep(.1)
@anshbhilare9565
@anshbhilare9565 3 года назад
@@maxhoden0303 we can do like that, but for more flexibility, we should use the keyboard module to detect a key press which will be set up to dynamically add/subtract values of a variable, then we use that variable in the time sleep function, then we can control the time sleep function resulting in more flexibility
@anshbhilare9565
@anshbhilare9565 3 года назад
If u need, I can write u the base code
@anshbhilare9565
@anshbhilare9565 3 года назад
@Gaurav Lohare sure, I will write and explain to u when I will get back to my pc
@anshbhilare9565
@anshbhilare9565 3 года назад
@Gaurav Lohare 👍👍
@ashishkumarsahoo6966
@ashishkumarsahoo6966 4 года назад
I just did this project but occured error that osError but i just open the pdf file but showing error invalid argument .. can u please tell me the solution 🙏🙏
@ProgrammingHero
@ProgrammingHero 4 года назад
you can join this server and discuss you problems , discord.gg/vsk8HW
@AzVidsPro
@AzVidsPro 4 года назад
If you are on Linux, install espeak
@thirumurugana9972
@thirumurugana9972 3 года назад
Bro why if page = pdfRrader.getpgae(7) means every time it runs from 7th if it's in for loop also ?
@PainInTheBhat
@PainInTheBhat 3 года назад
Great video. But it's also to be noted that the document structure might not support parsing and so it might not ALWAYS be feasible to use this to extract text from it. Just a heads up for people :)
@AmitrajeetKonch
@AmitrajeetKonch 2 года назад
So any alternative
@bellabear653
@bellabear653 2 года назад
A solution would always be welcomed when pointing out a problem.
@sachintendulkar9817
@sachintendulkar9817 4 года назад
while debugging the code i got pydev debugger: process is connecting this error and then program automatically finish without any python voice anyone knows the exact solution
@ProgrammingHero
@ProgrammingHero 4 года назад
join here for more discussioon about your problems with our other users. discord.gg/smDj2fk
@behradart-bang855
@behradart-bang855 2 года назад
i just do the same exact things but pycharm seems not to understand that the file is a pdf so it doesn't work, any one knows how to fix this...
@adit8425
@adit8425 3 года назад
The dislikes are from the ones that already bought audiobooks..
@ranjankumarjha8375
@ranjankumarjha8375 4 года назад
I liked your vedio but still I would love to meet your grandma 😆
@ProgrammingHero
@ProgrammingHero 4 года назад
Sure, my grand ma will love to meet with you.
@mightygirl655
@mightygirl655 3 года назад
How to make audiobook thumbnail?? pls tell 🥺🥺 like suspence or horror audiobooks
@leef_me8112
@leef_me8112 3 года назад
You didn't finish the changes for the "FOR" statement
@darrendrapkin4508
@darrendrapkin4508 3 года назад
specificly you need to change 7 to num, without this you have the same page read out over 100 times.
@Trikoo
@Trikoo 3 года назад
In some days, Progamming hero be like:- Don't breath from air, make ur own o2(Oxygen)😂😎😂
@batuhan-pubgmobile9318
@batuhan-pubgmobile9318 3 года назад
This is not the first time I am hearing of Mr carlos kingston and his exploits in the trading world but I have no idea how to reach him.
@ashutoshkumaarr
@ashutoshkumaarr 3 года назад
"I Know You Can Talk Now Shut Up"
@karthikt5268
@karthikt5268 3 года назад
😂😂
@vaibhavrandhave272
@vaibhavrandhave272 4 года назад
You have to type num in getPage(num)
@ProgrammingHero
@ProgrammingHero 4 года назад
Thanks for your tip
@neilshah4440
@neilshah4440 3 года назад
He Still Has To Read The Python Code.....
@johnpaulpascua3569
@johnpaulpascua3569 4 года назад
You can remove line number 6, and you'll get only 11 lines of code.
@ProgrammingHero
@ProgrammingHero 4 года назад
cool
@tommasobonvicini7114
@tommasobonvicini7114 4 года назад
Pfff, you can do this in 1 line in C/C++
@PunitKumar-ld3ce
@PunitKumar-ld3ce 3 года назад
Waiting for his next video, no need to have gf we will build one😋
@SuperMan-hn2ic
@SuperMan-hn2ic 2 года назад
Very useful 👍 But how we can convert it to the application and use it as App in our android?
@thepronab
@thepronab 4 года назад
Hi! I'm Pronab Mondal, I have one quaries. Before that I want to inform you that presently I'm using Python 3.9 64bit Ver. and PyCharm community Edition 2020.2.3 which is now latest. As following your video I was doing step by step but i'm not able to count the pdf pages. "pages = pdfReader.numPages" I stuck here. numPages is not showing in my Pycham. Please help me
@ProgrammingHero
@ProgrammingHero 4 года назад
"Use another pdf file and see if it still has the same error. If it does, switch back to previous version of python. Not every modules are updated with python latest versions.
@ganeshreddy6010
@ganeshreddy6010 3 года назад
This project comes under which domain
@parthkulkarni751
@parthkulkarni751 3 года назад
Am also stuck at this point but I am using Python version 3.8
@dadidjoishaga6543
@dadidjoishaga6543 2 года назад
Hello guys, just put the first “P” of pdfReader in capital letter, it should be PdfReader, and the job is done ✅
@ButchCassidyAndSundanceKid
@ButchCassidyAndSundanceKid 4 года назад
How can I change the dull, unremarkable male voice to a sexy blue-eyed blonde voice with an arousal accent ?
@xhostkiller7274
@xhostkiller7274 4 года назад
requires same thing
@lakshitdosi48
@lakshitdosi48 4 года назад
You can do it by changing rate & voice property. e.g. rate = speaker.getProperty('rate') speaker.setProperty('rate',130) voices = speaker.getProperty ('voices') speaker.setProperty ('voice', voices[1].id)
@ProgrammingHero
@ProgrammingHero 4 года назад
github.com/ashraf-minhaj/Audio-Book/
@ananditaa_2
@ananditaa_2 3 года назад
I have a dout what if I already have downloaded pdf n I want to shift them to pycharm so how i'll do?
@tragiclantern
@tragiclantern 4 года назад
"Yes, I know you can talk. Now... shut up." Every parent ever!
@ProgrammingHero
@ProgrammingHero 4 года назад
Hahahaa!!! adore your children.
@VaishaliThulkar
@VaishaliThulkar 3 года назад
But my child’s in the basement
@landershomeschool3889
@landershomeschool3889 Год назад
my friend didn’t like the Video and now he has no cookies because of grandma
@memeghost9716
@memeghost9716 3 года назад
It would be surprising to make a program from scratch that can do the same job without using modules.
@shimmerstack8506
@shimmerstack8506 3 года назад
I love how you tell us what all these abbreviations are and mean, most people just show you what it looks like and how to run it. Thank you!
@ProgrammingHero
@ProgrammingHero 3 года назад
You're most welcome
@designwithumeshcarpenter6634
@designwithumeshcarpenter6634 2 года назад
Bro, I have install pyPDF2 in pycharm but still not able to import it Output: no module found
@blueforce4030
@blueforce4030 3 года назад
me: only having cookies in my browser ;-;
@user-nb5sh4bl7h
@user-nb5sh4bl7h 3 года назад
Gregg Branden look it up
@kenan2386
@kenan2386 3 года назад
Audible After: Lets sponsor him he will delete it * Sponsored* Audible: haha yes no one will know my secret
@Sounds6168
@Sounds6168 2 года назад
I used vscode pip install shows shows it not recognised as the name of a cmdlet ...
@MrReachashish
@MrReachashish 4 года назад
This is amazing . A few questions 1. Does python also skips Diagrams on the page. 2. Also I saw , the program started reading from header. Any way you can skip header and footer of the page. 3. If the PDF is in 2 column format, does it detects it intelligently ? 4. What if there is a table in between . how does this table gets read , row wise or columnwise.
@ProgrammingHero
@ProgrammingHero 4 года назад
"Yes it does skip diagrams and images, how do you read images btw? If there are any printable texts, it will read those for you."
@Goku-tt5hb
@Goku-tt5hb 3 года назад
Try it out yourself bro to get the answers. Not everything can be spoonfed
@playerscience
@playerscience 3 года назад
@@Goku-tt5hb True!
@vasudevanm4057
@vasudevanm4057 3 года назад
sir can we control the speed of the audio... the audio moves faster for me
@rishisharma3569
@rishisharma3569 4 года назад
Liking this cause i want my cookies all to myself.
@ProgrammingHero
@ProgrammingHero 4 года назад
You will get it, granma is preparing them.
@HeyoJimenez
@HeyoJimenez 3 года назад
"If you are very poor" hahahaha Man are you talking to me?
@ProgrammingHero
@ProgrammingHero 3 года назад
😂
@SB-lk6wj
@SB-lk6wj 3 года назад
my moduel is not installing it is coming eeror it is ERROR: Could not find a version that satisfies the requirement pypfd2 ERROR: No matching distribution found for pypfd2
@ProgrammingHero
@ProgrammingHero 3 года назад
Specipy --allow-external, --allow-unverified options: pip install --allow-external pyPdf --allow-unverified pyPdf pyPdf Specifying --allow-unverified implies --allow-external; can be omitted. pip install --allow-unverified pyPdf pyPdf
@crazyprogrammer1261
@crazyprogrammer1261 4 года назад
Nice Intro Bro and Nice tutorial we can extend this forward also
@ProgrammingHero
@ProgrammingHero 4 года назад
Thanks and sure
@ska9448
@ska9448 3 года назад
my man has that accent which foreigners taunt us Indians about
@ruchitadwivedi9123
@ruchitadwivedi9123 3 года назад
He seems to be a bengali. They have this same accent. (My 3 college professors are bengali and have the same accent, idk how😂) Also, I feel he is Bangladeshi, not sure though.
@TheKuruamparambatta
@TheKuruamparambatta 3 года назад
Who cares for that when you are getting good knowledge
@hrashprajapati8337
@hrashprajapati8337 Год назад
To many errors going on while using your methods Where to resolve them ?
@VANTABL4CK
@VANTABL4CK 4 года назад
Your voice is so wholesome
@ProgrammingHero
@ProgrammingHero 4 года назад
Thanks for your appreciation
@moz10playz
@moz10playz 3 года назад
Me who don't even care about reading or listening but still watching because RU-vid recommended this
@noname4011
@noname4011 2 года назад
It was a very useful video, but how can I stop the voice reading?
@vasanthkumar3685
@vasanthkumar3685 4 года назад
12 lines of code for 13 minutes Am I joke to you
@ProgrammingHero
@ProgrammingHero 4 года назад
if you are a good programmer then it would not take more than 5 minutes
@ilhamwicaksono5802
@ilhamwicaksono5802 4 года назад
@@ProgrammingHero hmmm
@alesblaze4745
@alesblaze4745 4 года назад
"yes i know you can talk now shut up" when you child annoys you a lot. 😂😂😂
@ProgrammingHero
@ProgrammingHero 4 года назад
Hahaha , right you are .
@sciencekhuong
@sciencekhuong 4 года назад
uses sound volume metering, in conjunction with python
@dharaniporeddy7161
@dharaniporeddy7161 Год назад
I'm unable to install packages can anybody help me?