This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyttsx3 | |
import PyPDF2 | |
book = open('poem.pdf', 'rb') | |
pdf_reader = PyPDF2.PdfFileReader(book) | |
num_pages = pdf_reader.numPages | |
play = pyttsx3.init() | |
print("Play the audio book") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pywhatkit as kt | |
import matplotlib.pyplot as plt | |
filename = input("Enter the filename : ") | |
target_image = filename.split('.')[0] + ".txt" | |
img = plt.imread(filename) | |
plt.imshow(img) | |
plt.show() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pywhatkit as kt | |
import getpass as gp | |
from datetime import datetime,timedelta | |
print("Let's Automate Python") | |
p_num = gp.getpass(prompt="Phone Number:",stream=None) | |
msg = "Hello Coders!! \nIt's Jayant" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: webserver | |
webserver: webserver.o tcp.o request.o | |
gcc webserver.o tcp.o request.o -o webserver -g -lpthread | |
webserver.o: webserver.c | |
g cc -Wall -g -c webserver.c -o webserver.o | |
tcp.o: tcp.c tcp.h | |
gcc -Wall -g -c tcp.c -o tcp.o |
NewerOlder