Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Importing sound files
-
I'm creating a game on pythonista and wondering, how can import custom sound files?
I hear I can use the Dropbox API (never done something like this before)
Will this allow me to import sound files? -
You could host the file on a web server and use
urllib.urlretrieve
to download the file.Example:
import urllib.request urllib.request.urlretrieve ("http://www.example.com/songs/mp3.mp3", "mp3.mp3")
-
The Cloud Jump game pulls sounds off the internet... https://github.com/Pythonista-Tools/Pythonista-Tools/blob/master/Games.md