import direct.directbase.DirectStart
from direct.gui.DirectGui import DirectSlider
from direct.gui.OnscreenText import OnscreenText
import math
def showValue():
textObject['text'] = str(math.modf(slider['value'])[1])
slider = DirectSlider(range=(0,100), value=50, pageSize=3, command=showValue)
textObject = OnscreenText(text = '', pos = (0, 0.3), scale = 0.07)
base.run()
Result.
Just do not forget about the possibility. Use graphics library wxWidgets and Gtk
Example wxWidgets: