This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.lang import parent, properties, ids | |
| w = Label( | |
| id='the_label', | |
| text=properties.width, | |
| pos=parent.pos, | |
| children=[ | |
| Button( | |
| pos=ids.the_label.pos), | |
| GridLayout( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Android/makesetup b/Android/makesetup | |
| index 785588c8f4..bcd6b03f8a 100755 | |
| --- a/Android/makesetup | |
| +++ b/Android/makesetup | |
| @@ -48,7 +48,7 @@ list_ext_libraries () | |
| done | |
| IFS=$save_IFS | |
| else | |
| - libs="WITH_NCURSES WITH_READLINE" | |
| + libs="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.lang import Builder | |
| from kivy.base import runTouchApp | |
| root = Builder.load_string(""" | |
| BoxLayout: | |
| id: main_view | |
| orientation: 'horizontal' | |
| Widget: | |
| id: sidebar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [INFO]: Will compile for the following archs: armeabi-v7a | |
| [INFO]: Getting Android API version from user argument: 27 | |
| [INFO]: Available Android APIs are (12, 19, 21, 23, 24, 25, 26, 27) | |
| [INFO]: Requested API target 27 is available, continuing. | |
| [INFO]: Getting NDK dir from from user argument | |
| [INFO]: Got NDK version from from user argument: 10.3.2 | |
| [INFO]: Getting NDK API version (i.e. minimum supported API) from user argument | |
| [INFO]: Using Google NDK 10.3.2 | |
| [INFO]: Found virtualenv at /home/sandy/.local/bin/virtualenv | |
| [INFO]: Found the following toolchain versions: ['4.9'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.uix.widget import Widget | |
| from kivy.lang import Builder | |
| Builder.load_string(""" | |
| <RotatingWidget>: | |
| on_size: self.reset_child() | |
| on_pos: self.reset_child() | |
| canvas.before: | |
| PushMatrix: | |
| Rotate: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.lang import Builder | |
| from kivy.uix.anchorlayout import AnchorLayout | |
| from kivy.base import runTouchApp | |
| class AspectRatioEnforcer(AnchorLayout): | |
| def on_size(self, instance, size): | |
| self.resize_child() | |
| def resize_child(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from kivy.uix.widget import Widget | |
| from kivy.graphics import Rectangle, Color | |
| from kivy.properties import (ListProperty, NumericProperty, ObjectProperty) | |
| from kivy.lang import Builder | |
| from matplotlib.pyplot import get_cmap # | |
| class Heatmap(Widget): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| url = "https://genius.com/Joyner-lucas-isis-lyrics" | |
| def news(): | |
| global lyrics | |
| page = urlopen(Request(url, headers={'User-Agent': 'Mozilla'})) | |
| soup = BeautifulSoup(page, "html.parser") | |
| lyrics = soup.p.text.strip() | |
| news() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| url = "https://genius.com/Joyner-lucas-isis-lyrics" | |
| def news(): | |
| global lyrics | |
| page = urlopen(Request(url, headers={'User-Agent': 'Mozilla'})) | |
| soup = BeautifulSoup(page, "html.parser") | |
| lyrics = soup.p.text.strip() | |
| news() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [INFO]: Building harfbuzz for armeabi-v7a | |
| [INFO]: -> directory context /home/sandy/.local/share/python-for-android/build/other_builds/harfbuzz/armeabi-v7a__ndk_target_21/harfbuzz | |
| [DEBUG]: -> running configure --without-icu --host=arm-linux-androideabi --prefix=/home/sandy/.local/share/python-for-android/build/other_builds/harfbuzz/armeabi-v7a__ndk_target_21/harfbuzz --with-freetype=yes --without-glib | |
| [DEBUG]: checking for a BSD-compatible install... /usr/bin/install -c | |
| [DEBUG]: checking whether build environment is sane... yes | |
| [DEBUG]: checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip --strip-unneeded | |
| [DEBUG]: checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | |
| [DEBUG]: checking for gawk... gawk | |
| [DEBUG]: checking whether make -j5 sets $(MAKE)... yes | |
| [DEBUG]: checking whether make -j5 supports nested variables... yes |