Commits

Amirouche Boubekki committed 67beaf2

added a template for mini projects

  • Participants
  • Parent commits cc5f516

Comments (0)

Files changed (3)

File template-mini-project/README.rst

+==============
+ MINI PROJECT
+==============
+

File template-mini-project/main.py

+from kivy.interactive import InteractiveLauncher
+from kivy.app import App
+from kivy.uix.label import Label
+from kivy.uix.relativelayout import RelativeLayout
+from kivy.uix.popup import Popup
+from kivy.uix.layout import Layout
+from kivy.uix.widget import Widget
+from kivy.clock import Clock
+from kivy.graphics import Canvas
+from kivy.logger import Logger
+from kivy.uix.floatlayout import FloatLayout
+from kivy.uix.label import Label
+
+
+class MINI_PROJECT(App):
+
+    def build(self):
+        return Label(text="MINI PROJECT")
+
+
+# i = InteractiveLauncher(Antiquote())
+
+# start with ipython -i main.py 
+# then type i.run() in ipython to display the window
+# then start kiving
+
+MINI_PROJECT().run()
+

File template-mini-project/static/.file-for-lazy-hg

Empty file added.