Posts

Showing posts from September, 2020

Spam Bot In 6 lines

  import pyautogui , time time.sleep( 5 ) o = open ( "beescript" , 'r' ) for word in o: pyautogui.typewrite(word) pyautogui.press( "enter" ) I used this list to spam :https://web.njit.edu/~cm395/theBeeMovieScript/ You can use anything just copy it and make a new txt folder in pycharm or any ide and paste your list in it and that shit run this.

Convert PDF To Audiobook [Without Python]

  Why not do it the easier way? 1. Convert pdf to epub file. 2. Upload the epub file to google playbooks and then download it on the same app. 3. Use the read aloud feature and enjoy. If you dont known, how to convert ,simply search on google or any search engine 'pdf to epub' .Nowdays all things from photoeditor to any converter is available online Not able to find read aloud? After steps 1 and 2 . When u open the epub file and touch any page, u will find three vertical dots at the upper right corner. There u'll find the read aloud feature. And yeh you need to download ebook from phone not PC.Because there is no option to read aloud😅. Thank you

PDF to Audio

  import pyttsx3 import PyPDF2 book = open ( 'ExpertPython.pdf' , 'rb' ) pdfReader = PyPDF2.PdfFileReader(book) pages = pdfReader.numPages speaker = pyttsx3.init() for num in range ( 7 , pages): page = pdfReader.getPage(num) text = page.extractText() speaker.say(text) speaker.runAndWait()

Auto Type 'Bot'

import pyautogui import time pyautogui.FAILSAFE= False while True : time.sleep( 10 ) for i in range ( 0 , 100 ): pyautogui.move( 0 , 1 * 2 ) for i in range ( 0 , 1 ): pyautogui.press( 'enter' ) pyautogui.press( 'p' ) pyautogui.press( 'r' ) pyautogui.press( 'i' ) pyautogui.press( 'n' ) pyautogui.press( 't' ) pyautogui.press( '(' ) pyautogui.press( '"' ) pyautogui.press( 'H' ) pyautogui.press( 'i' ) pyautogui.press( ' ' ) pyautogui.press( ',' ) pyautogui.press( 'I' ) pyautogui.press( ' ' ) pyautogui.press( 'a' ) pyautogui.press( 'm' ) pyautogui.press( ' ' ) pyautogui.press( 'y' ) pyautogui.press( 'o' ) pyautogui.press( 'u' ) pyautogui.press(