Posts by Toshi • 68 points
2 posts
-
2
votes1
answer253
viewsA: Why can’t Tkinter execute a 'simple command'?
To make changes to a global variable you must put the keyword global in front of the variable inside the function, thus: def correct(): global c ... c = c + 1…
-
3
votes1
answer97
viewsQ: Is the Mediaplayer.create() method called in the background?
I was reading the documentation of Android Media Playback and a doubt occurred to me. In the documentation it said that it is not advisable to call the method mediaPlayer.prepare() in thread…