Skip to content

Instantly share code, notes, and snippets.

@dolang
Last active March 20, 2018 16:14
Show Gist options
  • Select an option

  • Save dolang/ebbf7d263bd9ab74a5a1bdf5d90bc05e to your computer and use it in GitHub Desktop.

Select an option

Save dolang/ebbf7d263bd9ab74a5a1bdf5d90bc05e to your computer and use it in GitHub Desktop.
Simple carousel example with Kivy using ScreenManager, doing automatic transitions.
"""
Debug configuration for easy import (instead of env vars/config file).
Uncomment ``import dbg_cfg`` in the main file, to see debug output.
"""
# import os
# os.environ['KIVY_NO_CONFIG'] = '1' # if active, no other config file is loaded
from kivy import Config
Config.set('kivy', 'log_level', 'debug')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment