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

Поділитися
Вставка
  • Опубліковано 5 лип 2020
  • Convert any PDF to an Audiobook with just 12 lines of Python. You can try it as a beginner.
    All you need is just two python libraries: pyttsx3 and PyPDF2
    It's fun, it's easy. Try it.
    Here is the full code: github.com/programminghero1/a...
    WHAT IS THE VIDEO ABOUT?
    • If you're a lazy reader, make your computer read for you
    • If you're a crazy reader, make the process smarter
    Now, if you're new to the programming world and don't know what to do, go check out our app and build your own game immediately while learning.
    Android App: bit.ly/AndroidProgHero
    iPhone Version: bit.ly/iOSProgHero
    ENJOYED THE VIDEO?
    Save yourself from our Grandma ⁠- she'll come to your house and eat all your cookies if you don't subscribe to this channel even after watching a video.
    OUR SOCIAL MEDIA
    Watch us on Facebook: bit.ly/FBProgHero
    Peep us on Instagram: bit.ly/IGProgHero
    Fly with us on Twitter: bit.ly/TWProgHero
    Board with us on Pinterest: bit.ly/PTProgHero
    SHARE this video with your friends so that they can become lazy, but smart person.
    #pdf #audio #book #audiobook #python #smart #hack #smarthack #cool #trick

КОМЕНТАРІ • 3,1 тис.

  • @youtubeessentials6434
    @youtubeessentials6434 3 роки тому +739

    few weeks later:
    "Don't watch my videos, make your own!

  • @XPHYtv
    @XPHYtv 3 роки тому +833

    This video is sponsored by Audible.

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +58

      lol

    • @vesrus59
      @vesrus59 3 роки тому +8

      THAT was funny )))

    • @ostelaymetaule
      @ostelaymetaule 3 роки тому +7

      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 роки тому +1

      🤣🤣🤣🤣🤣

    • @coolsav0074
      @coolsav0074 3 роки тому +12

      Audible reported this video as a threat to thier sales

  • @rinkujain1245
    @rinkujain1245 3 роки тому +265

    Next up:
    Don't use Python. Build your own programming language

    • @ancapftw9113
      @ancapftw9113 3 роки тому +13

      Build your own, using 100 lines of python.

    • @ahsanbulbul8512
      @ahsanbulbul8512 3 роки тому +10

      Don't watch any UA-cam tutorials.
      Make your own 🥴

    • @subratahalder9538
      @subratahalder9538 3 роки тому +2

      Next up:
      Don't use programming language. Build your own machine code

    • @ancapftw9113
      @ancapftw9113 3 роки тому +1

      @@subratahalder9538 *writes program 1 byte at a time using a series of switches*

    • @arshan207
      @arshan207 3 роки тому +1

      @@ancapftw9113 he has finally done it

  • @shimmerstack8506
    @shimmerstack8506 3 роки тому +4

    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!

  • @anastasiashpyt
    @anastasiashpyt 3 роки тому +440

    now I don't have a single reason not to learn python

    • @joeballer4036
      @joeballer4036 3 роки тому +6

      I’ll give you a reason. Video games 😂😂😂 lol jk - learn python 🐍

    • @anastasiashpyt
      @anastasiashpyt 3 роки тому +2

      @@joeballer4036 I am not playing games. 😅

    • @dhruvprajapati2627
      @dhruvprajapati2627 3 роки тому +6

      Sir,how to play hindi or other language voice? 🙄🙄

    • @raghurami253
      @raghurami253 3 роки тому

      😂😂😂😂😂😅

    • @hatim5466
      @hatim5466 3 роки тому

      Yooo

  • @jeffinalexgeorge8494
    @jeffinalexgeorge8494 3 роки тому +39

    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  3 роки тому +2

      Glad it was helpful!, keep watching us and download our app, Programming Hero.

    • @edgetechgamer4743
      @edgetechgamer4743 2 роки тому

      @@ProgrammingHero is this a company?

  • @TOP10STAR
    @TOP10STAR 3 роки тому +160

    Dont code. Just copy text n paste on google translate.

    • @lllWiseManlll
      @lllWiseManlll 3 роки тому +7

      wtf 🤣 never thought of it , that's kinda smart 🤣

    • @sachinsureshvaidya228
      @sachinsureshvaidya228 3 роки тому +8

      But isn't google translate has certain texts limitation?

    • @paragggoyal1552
      @paragggoyal1552 3 роки тому +4

      Ya right copy 111 pages of text also take care that images dont get copied right?

    • @TOP10STAR
      @TOP10STAR 3 роки тому +3

      @@paragggoyal1552 who told u to copy entire at once r u going to listen it in one go

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +25

      Hi there! Join our discord channel and ask your questions there. Our cool programmers and peer learners will help you out!

  • @learn3045
    @learn3045 2 роки тому +8

    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.

  • @richardsinclair7661
    @richardsinclair7661 3 роки тому +7

    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.

  • @derisis13
    @derisis13 3 роки тому +238

    'If you're poor like me...'
    Also him: *has an Apple computer

    • @SCTproductionsJ5
      @SCTproductionsJ5 3 роки тому +63

      ...that's... why he's poor.

    • @jarisipilainen3875
      @jarisipilainen3875 3 роки тому +6

      well you poor after buying one

    • @vanhetgoor
      @vanhetgoor 3 роки тому +4

      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 роки тому +1

      @@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?

  • @juniorMr
    @juniorMr 2 роки тому +2

    Man great .
    Your chanel is tremendous ,I am just following ya from Mozambique

  • @Lashistoriasdelilith
    @Lashistoriasdelilith 3 роки тому +1

    Excellent video!! Much useful that all I've "learned" in the university. I definitely subscribe

  • @eyekosaeder5387
    @eyekosaeder5387 3 роки тому +65

    Me: *loves reading*
    Also me: *watches this anyway*

  • @donsX
    @donsX 3 роки тому +42

    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 👍🏻

  • @nicholaswinters5784
    @nicholaswinters5784 3 роки тому +8

    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

  • @thisisfaiaz
    @thisisfaiaz 3 роки тому +11

    Amazing! You make these projects really easy to understand.

  • @aliabdelrhim
    @aliabdelrhim 3 роки тому +365

    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 3 роки тому +9

      Please can tou fix it for me😁😁😁😁

    • @superhesk
      @superhesk 3 роки тому +9

      @@beastnighttv Just write num instead of 7

    • @beastnighttv
      @beastnighttv 3 роки тому +1

      @@superhesk ok

    • @gabrielrmattoso
      @gabrielrmattoso 3 роки тому +12

      @@beastnighttv page = pdfReader.getPage(num)

    • @beastnighttv
      @beastnighttv 3 роки тому +3

      @@gabrielrmattoso done

  • @paraglide01
    @paraglide01 3 роки тому +10

    I like that you make practical projects mixed with some humour instead of dry theories about python programming. Thanks very much.

  • @CatHerzog
    @CatHerzog 9 місяців тому +1

    I’m glad I found you 😊 I was trying to figure it out and you teach so well.

  • @tan8067
    @tan8067 2 роки тому

    Awesome! Thank you so much for uploading this. This helped me look further into the other packages in Python. You've just earned yourself a subscriber!😉

  • @TarunSharma-fq8rc
    @TarunSharma-fq8rc 3 роки тому +17

    We can directly use Microsoft Edge browser it also provide play text in audio.

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +18

      and now you know how to made your own.

    • @Digger-Nick
      @Digger-Nick 3 роки тому

      @Hrishikesh Malviy Opening a pdf in browser is no different than opening it in adobe acrobat. . .

    • @Digger-Nick
      @Digger-Nick 3 роки тому

      @Hrishikesh Malviy You still have to open a program to view the pdf... Doesn't matter if it's a browser or not.

  • @thecastiel69
    @thecastiel69 3 роки тому +226

    BOT voice without feeling

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +23

      CHEK HERE, github.com/ashraf-minhaj/Audio-Book/

    • @b07x
      @b07x 3 роки тому +14

      You can't fall in love with it

    • @anto1756
      @anto1756 3 роки тому

      @@ProgrammingHero whats this?

    • @RobWence
      @RobWence 3 роки тому +4

      @@anto1756 He gave it a female voice on the github version

    • @aganzholic
      @aganzholic 3 роки тому

      @@ProgrammingHero why female voice is spanish?

  • @hammouminator
    @hammouminator 3 роки тому

    Awesome video man thanks , i just subscribed , i was wondering is it possible to sync it with a narrating software to get rid of the robotic reading or should i try and make my own ?

  • @gamescan34
    @gamescan34 3 роки тому +1

    Just today i saw your channel and i am loving it 👍thank you for the amazing tutorials.

  • @codingtraining0102
    @codingtraining0102 3 роки тому +38

    The PyReader: Look mama I can talk
    He: I know you can talk but now sh:t up
    This made me laugh so hard

  • @kunalrawat4448
    @kunalrawat4448 3 роки тому +8

    Your app was awesome When was app development course was available in programming hero?????

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +1

      It is already in the app more update of that course will come

  • @vpl406
    @vpl406 3 роки тому +1

    Nice video! Learning unknown things makes curiosity to learn more. Your tutorial made it. Hoping to watch embedded python tutorial in your easy way.

  • @PaulTheEldritchCat
    @PaulTheEldritchCat 3 роки тому +1

    That's a really cool thing to do. Good video, it really shows how simple and powerful code can be. Thanks!
    I saw you app a while ago, but didn't have a chance to try it. I'll give it a go!

  • @drkaymd
    @drkaymd 3 роки тому +9

    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 😎

  • @ZackAngelSmith
    @ZackAngelSmith 3 роки тому +7

    I wasn't searching for this, but... I like you
    I like you man, keep up the good vibes!

  • @treeofrich9397
    @treeofrich9397 3 роки тому

    Thanks for a very considering guidance! I truly appreciate your job!
    Do you have any recommendation for most close human voice TTS (Opensource) ?
    🙏🏻

  • @kiit-it-Kiit-ye1jk
    @kiit-it-Kiit-ye1jk 3 роки тому +2

    Best youtuber i ever came across. I just love your content. You are unique and love your crazy projects.

  • @programaths
    @programaths 3 роки тому +17

    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 роки тому +2

      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 роки тому +1

      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'

  • @sachintendulkar9817
    @sachintendulkar9817 3 роки тому +6

    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  3 роки тому

      join here for more discussioon about your problems with our other users.
      discord.gg/smDj2fk

  • @duallinguallady-aishaahmed1812
    @duallinguallady-aishaahmed1812 3 роки тому

    Glad to have found your channel!
    Is this something that can only be done on 💻 and 🖥 or can it be done using iPad?

  • @ABHISHEKKUMAR-fk9wj
    @ABHISHEKKUMAR-fk9wj 3 роки тому +2

    AttributeError: 'int' object has no attribute 'extractText' i am facing this issue and the pdf which i upload to audiobook i get question mark on it

  • @crazyprogrammer1261
    @crazyprogrammer1261 3 роки тому +14

    Nice Intro Bro and Nice tutorial we can extend this forward also

  • @rakshithks8817
    @rakshithks8817 4 роки тому +45

    12:15 after writing for loop you just forgot to change 7 to num in line number 9 . 😊😊

    • @ProgrammingHero
      @ProgrammingHero  4 роки тому +76

      Left a bug so that you have to hire me as a consultant to fix this bug :D

    • @devgupta2087
      @devgupta2087 3 роки тому +1

      @@ProgrammingHero 😂😂

    • @kartikjoshi428
      @kartikjoshi428 3 роки тому

      @Shamima Yeasmin because we Indians don't like to pay.. 😂😂

    • @beastnighttv
      @beastnighttv 3 роки тому +1

      @@ProgrammingHero sor please fix it

    • @boriskruschev7042
      @boriskruschev7042 3 роки тому

      @@beastnighttv dude just Wright getPage(num) instead of getPage(7)

  • @Amy-ej2px
    @Amy-ej2px Рік тому

    I LOVE your energy! Subscribed.

  • @rahulsarkate6043
    @rahulsarkate6043 3 роки тому +2

    Thank you for this amazing code.
    once 'for loop' is altered.
    How do I control speaker's voice speed ? can I add another voice?

  • @mrmastaofdesasta6994
    @mrmastaofdesasta6994 3 роки тому +19

    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?

  • @subhankarpal_cs2a_697
    @subhankarpal_cs2a_697 3 роки тому +164

    I cracked when he said, "if you're very poor, u can google and download a pdf..." 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +9

      xD

    • @onceuponfewtime
      @onceuponfewtime 3 роки тому +4

      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 роки тому +4

      we Russians always do so, because most of us are very poor. that's kind of sad =(

    • @oraoffice9562
      @oraoffice9562 3 роки тому +2

      @@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.

  • @dedisupardi2815
    @dedisupardi2815 2 роки тому

    You are really brilian and kindness for always share all codes you have to us to learn more and more about Python. Thank you so👍

  • @pranavku1676
    @pranavku1676 3 роки тому

    Nice video, I can learn more about modules by this channel. Nice one 👍

  • @bogballproductions6342
    @bogballproductions6342 3 роки тому +47

    Few years from now:
    "Don't live on Earth, make one with 420 lines of code!"

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +6

      hahaha! Nice idea!

    • @eggcat287
      @eggcat287 3 роки тому +2

      @@ProgrammingHero You are not gonna do it right...right guys?

    • @studyop6363
      @studyop6363 2 роки тому

      @@eggcat287 confused in tenet.....

  • @gamert2525
    @gamert2525 4 роки тому +7

    Here comes the programming hero
    Continue automation projects
    Thanks!

  • @Zo0oro
    @Zo0oro 3 роки тому

    Great video! Thanks!
    One last thing though, how can download the audio that the program reads and save it on my phone to listen to it on my way to work ?

  • @nitinpookat6710
    @nitinpookat6710 3 роки тому +2

    Amazing. Short and accurate explanation. Thank you

  • @ashishkumarsahoo6966
    @ashishkumarsahoo6966 3 роки тому +8

    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  3 роки тому

      you can join this server and discuss you problems , discord.gg/vsk8HW

    • @AzVidsPro
      @AzVidsPro 3 роки тому

      If you are on Linux, install espeak

  • @gamestroyer891
    @gamestroyer891 3 роки тому +48

    Everybody gangsta until the bot doesn't stop speaking after pausing

  • @digitalsol2071
    @digitalsol2071 2 роки тому

    You are awesome bro
    Thousand of like from my side if it is possible. Keep going on

  • @Raj-rj1qp
    @Raj-rj1qp 2 роки тому

    Such an amazing session. Thanks for that. 👍👍👍

  • @sanikesaicharan6062
    @sanikesaicharan6062 3 роки тому +3

    wow thats awesome, make use of code daily life makes it intresting.... its my first video in this channel and subscribed it.

  • @azamemkay
    @azamemkay 3 роки тому +12

    I Love How I Got Amazon Audible Ad While Watching This Lmao

  • @shortnews4504
    @shortnews4504 Рік тому

    Please guide how can we embed (fix) audio file in pdf with code or without code

  • @EtsedJayel
    @EtsedJayel 3 роки тому +2

    I, a complete beginner, learned more about Python (and coding in general) from watching this 13 mins video than from other hours-long tutorials, this is great!
    And also, to anybody else here being the "coding expert" and typing in the comments stuff like "Yeah, or you can just do this and that instead of writing it yourself", well, yes you can, but this guy is basically showing people how to do small coding projects to improve their programming skills and knowledge about the method to do so, which is crucial for someone who is just starting (like me).
    I'm definitely going to watch a ton more of these videos, glad I discovered this channel!

  • @thepronab
    @thepronab 3 роки тому +13

    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  3 роки тому +8

      "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 ✅

  • @MrDC-tp8dy
    @MrDC-tp8dy 4 роки тому +3

    Its our privilege to have developer like you thanks boss
    & one more thing please roll out update

    • @ProgrammingHero
      @ProgrammingHero  4 роки тому +1

      Thank you so much. Stay tuned we are coming with more automated videos.

  • @ggntv
    @ggntv 3 роки тому +1

    How to connect this Python project with my speaker so that I can carry the speaker to listen anywhere without carrying my PC or Laptop to that place. Please help me.

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому

      Hi there! Join our discord channel and ask your questions there. Our cool programmers and peer learners will help you out!

  • @PainInTheBhat
    @PainInTheBhat 3 роки тому +7

    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.

  • @noushadansari7566
    @noushadansari7566 4 роки тому +3

    Very informative video thanks for it

  • @MrReachashish
    @MrReachashish 3 роки тому +14

    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  3 роки тому +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 роки тому +1

      Try it out yourself bro to get the answers. Not everything can be spoonfed

    • @playerscience
      @playerscience 3 роки тому

      @@Goku-tt5hb True!

  • @weforyouweb1165
    @weforyouweb1165 3 роки тому

    Wow You are just awesome ... The way you teach line by line that is superb.. Thanks God Bless you Sir !❤️

  • @sushmam6434
    @sushmam6434 3 роки тому

    That was very nice. I have a question though, is it possible to pause the speaker and play the speaker from the stopped position?

  • @arijitganguly2522
    @arijitganguly2522 4 роки тому +4

    I learning python and i am a begineer and this is good example for me

  • @manilagenz
    @manilagenz 3 роки тому +7

    this is a life changing tutorial. i would like to thank you for this incredible discovery.

  • @funshorts168
    @funshorts168 3 роки тому

    Hello sir please reply i am in confusion ...i am using kali linux and pycharm as ide and the talking speed of my program is so fast how can i reduce it

  • @kalipriyo
    @kalipriyo 3 роки тому +1

    Hi, this is awesome.
    What changes should I make to this script if I want to open a selection window and select a PDF file instead of using the name (of the PDF file) in the script, each time I run the python code?
    Thank you

  • @shiva16
    @shiva16 3 роки тому +12

    was there a bookmark called "Mafia" at 1:22 ??!!

  • @oscarj.sanchez9733
    @oscarj.sanchez9733 3 роки тому +8

    Wow, perfect for me, one question, Any idea how control the speed?

    • @maxhoden0303
      @maxhoden0303 3 роки тому +2

      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 роки тому +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 роки тому +2

      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 роки тому +1

      @Gaurav Lohare 👍👍

  • @WinWar-The-Reign
    @WinWar-The-Reign 3 роки тому

    hi, i am having trouble with the first part. Where you said to click on the terminal when I do this it does not look like yours. the biggest difference is that it does not have Venv highlighted rather it just say C:\Users\Acer\PycharmProjects\pdf reader> then here where I type. I tried to write the execution to download the package anyway but it does not recognize pip.

  • @eryabolonha
    @eryabolonha 3 роки тому

    I'm definitely interested in learning more.
    Liked and subscribed

  • @Darshannn2002
    @Darshannn2002 3 роки тому +4

    10:43 I just got happy to much I don't why but got very happy ❤️❤️❤️❤️❤️

  • @ranjankumarjha8375
    @ranjankumarjha8375 3 роки тому +7

    I liked your vedio but still I would love to meet your grandma 😆

    • @ProgrammingHero
      @ProgrammingHero  3 роки тому +2

      Sure, my grand ma will love to meet with you.

  • @juiroy8924
    @juiroy8924 3 роки тому

    For pycharm professional 2021.1.3 version.. what would be the install package.. because at my side it's showing ( could not find a version that satisfies the requirement pyttsx3).( no matching distribution found for pyttsx3)

  • @user-ud6xw3js3r
    @user-ud6xw3js3r 3 роки тому

    Oh so you're the guy who mad eprogramming hero ahah let's go bro you're great didn't even know you had a channel

  • @leef_me8112
    @leef_me8112 3 роки тому +7

    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.

  • @vaibhavrandhave272
    @vaibhavrandhave272 3 роки тому +7

    You have to type num in getPage(num)

  • @simplifiedweb4380
    @simplifiedweb4380 2 роки тому

    You explain very much clearly sir

  • @hanishafiy1871
    @hanishafiy1871 Рік тому

    8:34 “I know you can talk so shut up!” That makes me laugh 😂

  • @sheeesh01
    @sheeesh01 3 роки тому +20

    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).

  • @memeghost9716
    @memeghost9716 3 роки тому +3

    It would be surprising to make a program from scratch that can do the
    same job without using modules.

  • @pipoviola
    @pipoviola Рік тому

    Amazing explanation. I will try it, but with some more advanced TTS option like the ones of Google, IBM, or Azure. Thank you very much!

  • @sciencesome7300
    @sciencesome7300 3 роки тому

    Hello! I was trying to stop speaker using speaker.stop()
    I am doing it in Tkinter.
    When Speaker start speaking then everything(that UI) stop working

  • @samsal8638
    @samsal8638 3 роки тому +6

    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.

  • @machwusa
    @machwusa 3 роки тому +3

    I love a video that delivers exactly what it promised

  • @ajaymurugan6513
    @ajaymurugan6513 3 роки тому

    yes, it was amazing. ur explanation is so good. kindly give more innovative videos.

  • @qublascience369
    @qublascience369 Рік тому

    Man you are really amazing. Why don't u make tutorial videos for DS and ML.

  • @VANTABL4CK
    @VANTABL4CK 3 роки тому +5

    Your voice is so wholesome

  • @ashrulochansahoo5154
    @ashrulochansahoo5154 3 роки тому +6

    The way he said "if you are very poor just go to google" that motivated me to be a poor 😂

  • @AustinNotAustin
    @AustinNotAustin 3 роки тому

    The Blue Yeti's mic is front facing (the side with the blue logo) if you sent the audio to the heart shape. So that means the yeti is normally vertical rather than horizontal.

  • @MoosaIslamic
    @MoosaIslamic 3 роки тому

    Hi, thanks for video.
    1. How do you save this as an MP3?
    2. Suppose there is some useless text you wish the program does not extract and read (e.g. the page number, chapter title, etc. at the bottom/top of a page). How do you make sure this isn't read?
    3. Can you adjust length of pauses in the speech, to signal start of chapter, heading, etc.?
    4. Are there other more 'natural' speech packages I can use? E.g. Google's TTS?

  • @mwntsimanyanaii2847
    @mwntsimanyanaii2847 3 роки тому +5

    Your grandmother will come to my house and ready all my cookies? Who is she, Santa? ;)

  • @9jatechie
    @9jatechie 3 роки тому +24

    Your grandma says this will read page 8 over and over again.

    • @nkhalid
      @nkhalid 3 роки тому +3

      change the number 7 to num after the "for loop" line:
      for num in range(7, pages):
      page = pdfREader.getPage(num)

    • @steps8595
      @steps8595 3 роки тому +1

      @@nkhalid thankyou bhayajiiii

  • @dreamer576
    @dreamer576 9 місяців тому +1

    TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported. this error shows for me!!!what can i do

  • @karyldavidkidd7111
    @karyldavidkidd7111 3 роки тому

    TY Mr. Actually Helps me!

  • @HappyLifeKL10
    @HappyLifeKL10 3 роки тому +9

    Developer : Doing everyday job
    3 Lakh Viewers : Interesting

  • @venkats5870
    @venkats5870 4 роки тому +316

    After watching one min of this video I clicked like because your grandma appears on screen with Gun 😂

    • @ProgrammingHero
      @ProgrammingHero  4 роки тому +23

      Hahahaha!! very funny , thanks for watching.

    • @sheikhshagor6040
      @sheikhshagor6040 3 роки тому +1

      @@ProgrammingHero ai abal dekhle amr hasi pai

    • @sayokbhattacharya
      @sayokbhattacharya 3 роки тому

      @@sheikhshagor6040 keno?

    • @sayokbhattacharya
      @sayokbhattacharya 3 роки тому

      @@sheikhshagor6040 haan bodo abal, bhablam kichu voice set diye sentiment modulation korbe, eto Stephen Hawkings kore diyechhe.

    • @samiullah9154
      @samiullah9154 3 роки тому +2

      @@ProgrammingHero How can I saved that audio so I don't need to run the script again and again?

  • @arindamcal
    @arindamcal 3 роки тому

    Sir when I store my pdf file under pythonproject folder. The I open pycham editor , this is shown question mark. As a result when i run program, error show that pdf file not found

  • @ChanSiewWei
    @ChanSiewWei 3 роки тому

    Love this. You make it look so easy.