MCPcopy Create free account
hub / github.com/geekcomputers/Python / save_only

Method save_only

text_to_audio/main.py:76–79  ·  view source on GitHub ↗
(self, filename="default.mp3")

Source from the content-addressed store, hash-verified

74 # Isn't this declaring this again?
75
76 def save_only(self, filename="default.mp3"):
77 # The class will take care of the playing and saving.
78 # The initialisation will take care of it.
79 self.gtts_object.save(filename)
80
81 def play_only(self):
82 from pygame import mixer, time

Callers

nothing calls this directly

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected