In this video I’ll show you how to create a carousel with Kivy and Python.

Carousels are great for creating image slider type apps, or really anything you’d like to put on separate panels that can then be slid across to.

In this video I’ll show you how to create an Image Carousel for pictures that are sitting on your computer, as well as pictures sitting on the Internet!

Python Code:
GitHub Code:

from import App
from kivy.uix.widget import Widget
from kivy.lang import Builder

# Designate Our .kv design file 

class MyLayout(Widget):

class AwesomeApp(App):
	def build(self):
		return MyLayout()

if __name__ == '__main__':

Kivy Design Code: carousel.kv
GitHub Code: carousel.kv

		orientation: "vertical"
		size: root.width, root.height
			direction: "right"

				source: "images/aspen1.jpg"
				source: ''
				source: "images/aspen2.png"

				source: "images/aspen3.jpg"

John Elder

John is the CEO of where he teaches over 100,000 students how to code! He founded one of the Internet's earliest advertising networks and sold it to a publicly company at the height of the first dot com boom. After that he developed the award-winning Submission-Spider search engine submission software that's been used by over 3 million individuals, businesses, and governments in over 42 countries. He's written several Amazon #1 best selling books on coding, and runs a popular Youtube coding channel.

View all posts

Add comment

Your email address will not be published. Required fields are marked *

John Elder