Skip to main content

Featured

Tic Tac Toe

Tic Tac Toe Tic Tac Toe is a simple, two-player strategy game played on a 3x3 grid. Players take turns marking a square with either an "X" or an "O", with the goal of being the first to align three of their marks in a row, column, or diagonal.  I have made a simple Tic Tac Toe game using html, css, javascript.  The game doesnot have much features. The game is created to be played by two peoples. It is just a simple game. The code of this game you get in my github page   Link of this game code is below: Tic Tac Toe Game Code /

Changing text into voice using python

 In python you can change the text, paragraph into voice with help of different  modules. But today in this  I am going to use pywin32. You can install this with the help of pip.

#to install pywin32

pip install pywin32


Heres the code:

from win32com.client import Dispatch

speak = Dispatch("SAPI.SpVoice")

sp_th = input("enter the text you want to convert into audio\n\n")

speak.Speak(sp_th)

 

Comments

Popular Posts