Skip to content

Use pyttsx3 text-to-speech module instead of os.system('say "..."') for cross-platform compatibility#32

Open
Stormwind99 wants to merge 18 commits into
pcomputo:masterfrom
Stormwind99:master
Open

Use pyttsx3 text-to-speech module instead of os.system('say "..."') for cross-platform compatibility#32
Stormwind99 wants to merge 18 commits into
pcomputo:masterfrom
Stormwind99:master

Conversation

@Stormwind99

Copy link
Copy Markdown

This pull request uses pyttsx3 TTS (text-to-speech) module instead of os.system('say "..."') for cross-platform compatibility - allowing scripts to work on Mac, Windows, and Linux without changes.

This should also allow removal of any Windows-specific scripts in the repo, reducing maintenance/upkeep needed.

@pcomputo

pcomputo commented Apr 10, 2020

Copy link
Copy Markdown
Owner

Thanks a lot for getting this out. I've added a link to your PR in the Readme, meanwhile I try to test this. Thank you!

Comment thread amazon_fresh_delivery_slot_chrome.py Outdated
if open_slots != "false":
print('SLOTS OPEN!')
os.system('say "Slots for delivery opened!"')
sayIt("Slots for delivery opened!"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sayIt("Slots for delivery opened!")

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants