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
| from tika import parser | |
| from gtts import gTTS | |
| from playsound import playsound | |
| filename = input ("Please Enter A file name") | |
| file = input("enter file to process") | |
| raw = parser.from_file(file) | |
| text_data = raw['content'] | |
| sp = gTTS(text = text_data , lang = 'en') | |
| sp.save(filename) | |
| playsound(filename) |
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 turtle | |
| win = turtle.Screen() | |
| win.setup(900,600) | |
| win.title("Jackhammer's Paint") | |
| # ribbon | |
| rib = turtle.Turtle() | |
| rib.hideturtle() | |
| rib.color('thistle') |
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 turtle | |
| import time | |
| import random | |
| #-------------------------------------------- APPERANCE -------------------------------------------------------------- | |
| # screen setup | |
| win = turtle.Screen() | |
| win.bgcolor('black') | |
| win.title('Dodge 2') |