Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Wasim Afser wasimafser

🏠
Working from home
View GitHub Profile
View test.py
from kivy.lang import Builder
from kivymd.app import MDApp
KV = '''
Screen:
BoxLayout:
orientation: 'vertical'
size_hint_y: None
canvas.before:
View main.kv
<SongScreen>:
name: 'song_screen'
BoxLayout:
orientation: 'vertical'
id: song_screen_bg
NowPlayingAlbumArt:
size: self.texture_size
size_hint: None, None
elevation: 10
View service.py
import socket
import win32serviceutil
import win32service
import win32event
import servicemanager
import subprocess
import psutil
import tempfile
import configparser
import sys
View main.py
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.gridlayout import GridLayout
from kivy.uix.recycleview import RecycleView
from kivy.uix.modalview import ModalView
from kivy.uix.textinput import TextInput
from kivy.properties import ObjectProperty, StringProperty, NumericProperty
View main.py
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.button import Button
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.modalview import ModalView
#from kivy.uix.textinput import TextInput
from kivy.properties import ObjectProperty, StringProperty
Builder.load_string("""
<AppContainer>