Skip to content
Sign upLog in

How to convert Python to C++?

Profile icon

Hello, I need to convert a Python file ( Well, I will download Sprint's Pythonish file ) to a C++ one. How to do that? Also,

You are viewing a single comment. View All
Answered by SixBeeps [earned 5 cycles]
View Answer
Profile icon

OK, I will rewrite to C++.

Speech in C++

What about speaking?! Workaround this:

import pyttsx3 as sprintspeech engine = sprintspeech.init() rate = engine.setProperty("rate", 180) print("Current rate: " + rate) engine.say("Hi. I am PyAssis.") # Then I won't use Sprint instead of another fake one, I surely not make, or maybe I will ( <<:P) engine.runAndWait()